Skip to content

Commit

Permalink
Disallow Merge Refs from Creating Cache (#2965)
Browse files Browse the repository at this point in the history
Disallow merge refs to creating cache
  • Loading branch information
atharva-2001 authored Feb 3, 2025
1 parent 34c0a4f commit 35c3190
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/lfs-cache.yml
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,7 @@ jobs:

- name: Save LFS cache if not found
uses: actions/cache/save@v4
if: ${{ steps.test-lfs-cache-regression-data.outputs.cache-hit != 'true' && !contains(github.ref, 'merge') }}
with:
path: tardis-regression-data/.git/lfs
key: tardis-regression-${{ inputs.atom-data-sparse == true && 'atom-data-sparse' || 'full-data' }}-${{ hashFiles('tardis-regression-data/.lfs-files-list') }}-${{ inputs.regression-data-repo }}-v1

0 comments on commit 35c3190

Please sign in to comment.