[php-src] master: Adjust nightly org restriction check

From: Date: Sun, 21 Apr 2024 00:14:47 +0000
Subject: [php-src] master: Adjust nightly org restriction check
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-128185@lists.php.net to get a copy of this message
Author: Ilija Tovilo (iluuu1994) Date: 2024-04-21T02:13:49+02:00 Commit: https://github.com/php/php-src/commit/c3b07a6e5ea9ef35b1fdf2fcc58be103ec0f4b95 Raw diff: https://github.com/php/php-src/commit/c3b07a6e5ea9ef35b1fdf2fcc58be103ec0f4b95.diff Adjust nightly org restriction check Check for the specific repository. Closes GH-14026 Changed paths: M .github/workflows/close-needs-feedback.yml M .github/workflows/close-stale-feature-requests.yml M .github/workflows/close-stale-prs.yml M .github/workflows/nightly.yml M .github/workflows/remove-needs-feedback.yml Diff: diff --git a/.github/workflows/close-needs-feedback.yml b/.github/workflows/close-needs-feedback.yml index 27231303f16e..761618075d2c 100644 --- a/.github/workflows/close-needs-feedback.yml +++ b/.github/workflows/close-needs-feedback.yml @@ -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 diff --git a/.github/workflows/close-stale-feature-requests.yml b/.github/workflows/close-stale-feature-requests.yml index 6a464df018f4..5e2956d0ab85 100644 --- a/.github/workflows/close-stale-feature-requests.yml +++ b/.github/workflows/close-stale-feature-requests.yml @@ -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 diff --git a/.github/workflows/close-stale-prs.yml b/.github/workflows/close-stale-prs.yml index ab17c074155f..9530bae99edb 100644 --- a/.github/workflows/close-stale-prs.yml +++ b/.github/workflows/close-stale-prs.yml @@ -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 diff --git a/.github/workflows/nightly.yml b/.github/workflows/nightly.yml index e76c470ce8d6..0ccc1cc03b46 100644 --- a/.github/workflows/nightly.yml +++ b/.github/workflows/nightly.yml @@ -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 diff --git a/.github/workflows/remove-needs-feedback.yml b/.github/workflows/remove-needs-feedback.yml index 8d1ff3e0a071..ed6898341488 100644 --- a/.github/workflows/remove-needs-feedback.yml +++ b/.github/workflows/remove-needs-feedback.yml @@ -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

« previous php.cvs (#128185) next »