1
0
mirror of https://github.com/php/php-src.git synced 2026-03-24 00:02:20 +01:00

Adjust nightly org restriction check

Check for the specific repository.

Closes GH-14026
This commit is contained in:
Ilija Tovilo
2024-04-21 02:01:23 +02:00
parent b3700e29cc
commit c3b07a6e5e
5 changed files with 7 additions and 7 deletions

View File

@@ -9,7 +9,7 @@ permissions:
jobs:
build:
if: github.repository_owner == 'php'
if: github.repository == 'php/php-src'
runs-on: ubuntu-latest
permissions:
issues: write

View File

@@ -9,7 +9,7 @@ permissions:
jobs:
stale:
if: github.repository_owner == 'php'
if: github.repository == 'php/php-src'
runs-on: ubuntu-latest
permissions:
issues: write

View File

@@ -9,7 +9,7 @@ permissions:
jobs:
stale:
if: github.repository_owner == 'php'
if: github.repository == 'php/php-src'
runs-on: ubuntu-latest
permissions:
issues: write

View File

@@ -8,7 +8,7 @@ permissions:
jobs:
GENERATE_MATRIX:
name: Generate Matrix
if: github.repository_owner == 'php' || github.event_name == 'workflow_dispatch'
if: github.repository == 'php/php-src' || github.event_name == 'workflow_dispatch'
runs-on: ubuntu-latest
outputs:
branches: ${{ steps.set-matrix.outputs.branches }}
@@ -288,7 +288,7 @@ jobs:
with:
token: ${{ secrets.ACTION_MONITORING_SLACK }}
COVERAGE_DEBUG_NTS:
if: github.repository_owner == 'php' || github.event_name == 'workflow_dispatch'
if: github.repository == 'php/php-src' || github.event_name == 'workflow_dispatch'
services:
postgres:
image: postgres
@@ -769,7 +769,7 @@ jobs:
with:
token: ${{ secrets.ACTION_MONITORING_SLACK }}
PECL:
if: github.repository_owner == 'php' || github.event_name == 'workflow_dispatch'
if: github.repository == 'php/php-src' || github.event_name == 'workflow_dispatch'
runs-on: ubuntu-22.04
env:
CC: ccache gcc

View File

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