Skip to content

Commit 2753b45

Browse files
committed
[ci skip] Don't run GitHub actions on forks
Closes GH-8111 Closes GH-8119
1 parent 55b4dde commit 2753b45

File tree

3 files changed

+3
-1
lines changed

3 files changed

+3
-1
lines changed

.github/workflows/close-needs-feedback.yml

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

77
jobs:
88
build:
9+
if: github.repository_owner == 'php'
910
runs-on: ubuntu-latest
1011
steps:
1112
- name: Close old issues that need feedback

.github/workflows/close-stale-prs.yml

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

77
jobs:
88
stale:
9+
if: github.repository_owner == 'php'
910
runs-on: ubuntu-latest
1011
steps:
1112
- uses: actions/stale@v4

.github/workflows/remove-needs-feedback.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ on:
77

88
jobs:
99
build:
10-
if: "contains(github.event.issue.labels.*.name, 'Status: Needs Feedback') && github.event.issue.user.login == github.event.sender.login"
10+
if: "github.repository_owner == 'php' && contains(github.event.issue.labels.*.name, 'Status: Needs Feedback') && github.event.issue.user.login == github.event.sender.login"
1111
runs-on: ubuntu-latest
1212
steps:
1313
- uses: actions-ecosystem/action-remove-labels@v1

0 commit comments

Comments
 (0)