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:
2
.github/workflows/close-needs-feedback.yml
vendored
2
.github/workflows/close-needs-feedback.yml
vendored
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
2
.github/workflows/close-stale-prs.yml
vendored
2
.github/workflows/close-stale-prs.yml
vendored
@@ -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
|
||||
|
||||
6
.github/workflows/nightly.yml
vendored
6
.github/workflows/nightly.yml
vendored
@@ -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
|
||||
|
||||
2
.github/workflows/remove-needs-feedback.yml
vendored
2
.github/workflows/remove-needs-feedback.yml
vendored
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user