From 1e3d80c4b61ef9b3c19bee9ef04d128e1a61d507 Mon Sep 17 00:00:00 2001 From: Alex Lancaster Date: Wed, 13 Nov 2024 00:39:14 -0500 Subject: [PATCH] don't expand the repo name, not necessary --- .github/workflows/run_citations.yml | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/.github/workflows/run_citations.yml b/.github/workflows/run_citations.yml index 2200fa2ab..34305acf5 100644 --- a/.github/workflows/run_citations.yml +++ b/.github/workflows/run_citations.yml @@ -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: @@ -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' -