diff --git a/.github/workflows/verify-release.yml b/.github/workflows/verify-release.yml index f2e5714ee9..ac3f070f7a 100644 --- a/.github/workflows/verify-release.yml +++ b/.github/workflows/verify-release.yml @@ -27,8 +27,8 @@ jobs: trigger-schema-site-update: runs-on: ubuntu-latest - # Only run this workflow in the context of this repo. - if: github.repository_owner == 'PHPCSStandards' + # Only run this workflow in the context of this repo, don't run for changed workflow PR dry-runs. + if: github.repository_owner == 'PHPCSStandards' && github.event_name != 'pull_request' name: "Trigger update of schema website" @@ -46,8 +46,8 @@ jobs: trigger-wiki-update: runs-on: ubuntu-latest - # Only run this workflow in the context of this repo. - if: github.repository_owner == 'PHPCSStandards' + # Only run this workflow in the context of this repo, don't run for changed workflow PR dry-runs. + if: github.repository_owner == 'PHPCSStandards' && github.event_name != 'pull_request' name: "Trigger update of wiki"