Skip to content

Commit e43ee12

Browse files
committed
ci: prevent certain actions from running on forks
1 parent cd5cbcd commit e43ee12

File tree

4 files changed

+4
-0
lines changed

4 files changed

+4
-0
lines changed

.github/workflows/empty-issues-closer.yaml

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

99
jobs:
1010
closeEmptyIssuesAndTemplates:
11+
if: github.repository == 'anuraghazra/github-readme-stats'
1112
name: Close empty issues
1213
runs-on: ubuntu-latest
1314
steps:

.github/workflows/label-pr.yml

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

55
jobs:
66
triage:
7+
if: github.repository == 'anuraghazra/github-readme-stats'
78
runs-on: ubuntu-latest
89
steps:
910
- uses: actions/labeler@v4

.github/workflows/stale-theme-pr-closer.yaml

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

66
jobs:
77
closeOldThemePrs:
8+
if: github.repository == 'anuraghazra/github-readme-stats'
89
name: Close stale 'invalid' theme PRs
910
runs-on: ubuntu-latest
1011
strategy:

.github/workflows/top-issues-dashboard.yml

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

66
jobs:
77
showAndLabelTopIssues:
8+
if: github.repository == 'anuraghazra/github-readme-stats'
89
name: Update top issues Dashboard.
910
runs-on: ubuntu-latest
1011
steps:

0 commit comments

Comments
 (0)