Skip to content

Commit b0e0a10

Browse files
ci: prevent pnpm-cache from running on forked repo (DefinitelyTyped#72268)
Co-authored-by: Jake Bailey <[email protected]>
1 parent 235d722 commit b0e0a10

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

.github/workflows/pnpm-cache.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ on:
99
jobs:
1010
create-cache:
1111
runs-on: ubuntu-latest
12+
if: ${{ github.repository == 'DefinitelyTyped/DefinitelyTyped' }}
1213
steps:
1314
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
1415
- uses: actions/setup-node@cdca7365b2dadb8aad0a33bc7601856ffabcc48e # v4.3.0

0 commit comments

Comments
 (0)