Skip to content

add needs

add needs #14

Workflow file for this run

name: Update citations upon CITATION.cff changes
on:
push:
paths:
- CITATION.cff
- '.github/workflows/run_citations.yml'
- '.github/workflows/update_citations.yml'
jobs:
update-citations:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: '3.x'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
# use customized version of cffconvert
pip install git+https://github.com/alexlancaster/cffconvert.git@combine_features#egg=cffconvert
call-citation-workflow:
needs: update-citations
uses: ./.github/workflows/update_citations.yml

Check failure on line 31 in .github/workflows/run_citations.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/run_citations.yml

Invalid workflow file

error parsing called workflow ".github/workflows/run_citations.yml" -> "./.github/workflows/update_citations.yml" (source branch with sha:071391d2ad6ea2898dd753415e85f9c4c617d2bf) : You have an error in your yaml syntax on line 22
with:
CITATION_DIR: 'src/PyPop/citation'
INIT_FILE: 'src/PyPop/__init__.py'
secrets: inherit # if any secrets need to be inherited from the calling workflow