Skip to content

Commit a9f2efa

Browse files
committed
Restrict some GH actions to not run on forks
1 parent 7dc838c commit a9f2efa

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

.github/workflows/GHPages.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ concurrency:
1818

1919
jobs:
2020
deploy:
21+
if: github.repository == 'sveltejs/eslint-plugin-svelte'
2122
environment:
2223
name: github-pages
2324
url: ${{ steps.deployment.outputs.page_url }}

.github/workflows/pkg.pr.new.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ on:
88

99
jobs:
1010
build:
11+
if: github.repository == 'sveltejs/eslint-plugin-svelte'
1112
runs-on: ubuntu-latest
1213

1314
steps:

0 commit comments

Comments
 (0)