Skip to content

Commit c36d32c

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

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.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

0 commit comments

Comments
 (0)