From c8e16a2a50d54391da990f0701563314aee72474 Mon Sep 17 00:00:00 2001 From: Zach Burnett Date: Wed, 25 Oct 2023 13:27:34 -0400 Subject: [PATCH] fix copy from stpipe --- .github/workflows/data.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/data.yml b/.github/workflows/data.yml index 7f0306a61..09d0f01da 100644 --- a/.github/workflows/data.yml +++ b/.github/workflows/data.yml @@ -31,7 +31,7 @@ jobs: - id: path run: echo "path=${{ env.DATA_PATH }}/webbpsf-data" >> $GITHUB_OUTPUT webbpsf_data: - if: (github.repository == 'spacetelescope/stpipe' && (github.event_name == 'schedule' || github.event_name == 'workflow_dispatch' || contains(github.event.pull_request.labels.*.name, 'update webbpsf data'))) + if: (github.repository == 'spacetelescope/romancal' && (github.event_name == 'schedule' || github.event_name == 'workflow_dispatch' || contains(github.event.pull_request.labels.*.name, 'update webbpsf data'))) needs: [ webbpsf_path ] name: download and cache WebbPSF data runs-on: ubuntu-latest @@ -69,7 +69,7 @@ jobs: # use actions/gh-actions-cache to allow filtering by key gh extension install actions/gh-actions-cache - RECENT=$(gh actions-cache list -R spacetelescope/stpipe --key webbpsf- --sort created-at | cut -f 1 | head -n 1) + RECENT=$(gh actions-cache list -R spacetelescope/romancal --key webbpsf- --sort created-at | cut -f 1 | head -n 1) echo "RECENT=$RECENT" HASH=$(echo $RECENT | cut -d '-' -f 2) echo "HASH=$HASH"