Skip to content

Commit c3b07a6

Browse files
committed
Adjust nightly org restriction check
Check for the specific repository. Closes GH-14026
1 parent b3700e2 commit c3b07a6

File tree

5 files changed

+7
-7
lines changed

5 files changed

+7
-7
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ permissions:
99

1010
jobs:
1111
build:
12-
if: github.repository_owner == 'php'
12+
if: github.repository == 'php/php-src'
1313
runs-on: ubuntu-latest
1414
permissions:
1515
issues: write

.github/workflows/close-stale-feature-requests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ permissions:
99

1010
jobs:
1111
stale:
12-
if: github.repository_owner == 'php'
12+
if: github.repository == 'php/php-src'
1313
runs-on: ubuntu-latest
1414
permissions:
1515
issues: write

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ permissions:
99

1010
jobs:
1111
stale:
12-
if: github.repository_owner == 'php'
12+
if: github.repository == 'php/php-src'
1313
runs-on: ubuntu-latest
1414
permissions:
1515
issues: write

.github/workflows/nightly.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ permissions:
88
jobs:
99
GENERATE_MATRIX:
1010
name: Generate Matrix
11-
if: github.repository_owner == 'php' || github.event_name == 'workflow_dispatch'
11+
if: github.repository == 'php/php-src' || github.event_name == 'workflow_dispatch'
1212
runs-on: ubuntu-latest
1313
outputs:
1414
branches: ${{ steps.set-matrix.outputs.branches }}
@@ -288,7 +288,7 @@ jobs:
288288
with:
289289
token: ${{ secrets.ACTION_MONITORING_SLACK }}
290290
COVERAGE_DEBUG_NTS:
291-
if: github.repository_owner == 'php' || github.event_name == 'workflow_dispatch'
291+
if: github.repository == 'php/php-src' || github.event_name == 'workflow_dispatch'
292292
services:
293293
postgres:
294294
image: postgres
@@ -769,7 +769,7 @@ jobs:
769769
with:
770770
token: ${{ secrets.ACTION_MONITORING_SLACK }}
771771
PECL:
772-
if: github.repository_owner == 'php' || github.event_name == 'workflow_dispatch'
772+
if: github.repository == 'php/php-src' || github.event_name == 'workflow_dispatch'
773773
runs-on: ubuntu-22.04
774774
env:
775775
CC: ccache gcc

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ permissions:
1010

1111
jobs:
1212
build:
13-
if: "github.repository_owner == 'php' && contains(github.event.issue.labels.*.name, 'Status: Needs Feedback') && github.event.issue.user.login == github.event.sender.login"
13+
if: "github.repository == 'php/php-src' && contains(github.event.issue.labels.*.name, 'Status: Needs Feedback') && github.event.issue.user.login == github.event.sender.login"
1414
runs-on: ubuntu-latest
1515
permissions:
1616
issues: write

0 commit comments

Comments
 (0)