Skip to content

Commit

Permalink
don't expand the repo name, not necessary
Browse files Browse the repository at this point in the history
  • Loading branch information
alexlancaster committed Nov 13, 2024
1 parent 3eb1fad commit 1e3d80c
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions .github/workflows/run_citations.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ on:
paths:
- CITATION.cff
- '.github/workflows/run_citations.yml'
- '.github/workflows/update_citations.yml'
- '.github/workflows/update_citations.yml'

jobs:
update-citations:
Expand All @@ -25,10 +25,9 @@ jobs:
python -m pip install --upgrade pip
# use customized version of cffconvert
pip install git+https://github.com/alexlancaster/cffconvert.git@combine_features#egg=cffconvert
- name: Trigger citation update workflow
uses: {{ github.repository }}.github/workflows/update_citations.yml@${{ github.ref_name }} # reference the current branch dynamically
uses: ./.github/workflows/update_citations.yml@${{ github.ref_name }} # reference the current branch dynamically
with:
CITATION_DIR: 'src/PyPop/citation'
INIT_FILE: 'src/PyPop/__init__.py'

0 comments on commit 1e3d80c

Please sign in to comment.