Skip to content

Commit 2b5273c

Browse files
authored
ci: prevent action running on forks (#2717)
1 parent 5ba2070 commit 2b5273c

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

.github/workflows/check-for-resources-update.yml

+3-2
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,13 @@ on:
55
- cron: 0 0 * * 0 # At 00:00 on Sunday, see https://crontab.guru/#0_0_*_*_0
66

77
permissions:
8-
contents: write
9-
pull-requests: write
8+
contents: write
9+
pull-requests: write
1010

1111
jobs:
1212
check-for-resources-update:
1313
runs-on: ubuntu-latest
14+
if: ${{ github.repository == 'vuejs/eslint-plugin-vue' }}
1415
steps:
1516
- name: Checkout
1617
uses: actions/checkout@v4

0 commit comments

Comments
 (0)