wordpress-develop/.github/workflows
Jonathan Desrosiers 47e7c8e01a Build/Test Tools: Prevent inaccurate “fixed” notifications in Slack.
When searching for previous workflow runs by branch, GitHub currently includes matches within forks.

If a contributor opens a pull request from their fork with a `head_ref` matching a Core branch that triggers a workflow on `push` event, the outcomes of the workflows associated with that pull request are currently used to determine if the previous workflow run had failed.

The result is a false “fixed” notifications when a commit immediately follows a failed workflow run from the pull request.

This adds a check to skip any workflow runs not triggered by a `push` event to prevent these inaccurate notifications.

Props SergeyBiryukov.
See #55652.

git-svn-id: https://develop.svn.wordpress.org/trunk@53466 602fd350-edb4-49c9-b593-d223f7449a82
2022-06-05 09:29:53 +00:00
..
coding-standards.yml Build/Test Tools: Update all 3rd party actions to their latest versions. 2022-04-08 18:37:20 +00:00
end-to-end-tests.yml Build/Test Tools: Update all 3rd party actions to their latest versions. 2022-04-08 18:37:20 +00:00
javascript-tests.yml Build/Test Tools: Update all 3rd party actions to their latest versions. 2022-04-08 18:37:20 +00:00
php-compatibility.yml Build/Test Tools: Update all 3rd party actions to their latest versions. 2022-04-08 18:37:20 +00:00
phpunit-tests.yml Build/Test Tools: Update all 3rd party actions to their latest versions. 2022-04-08 18:37:20 +00:00
slack-notifications.yml Build/Test Tools: Prevent inaccurate “fixed” notifications in Slack. 2022-06-05 09:29:53 +00:00
test-coverage.yml Build/Test Tools: Update all 3rd party actions to their latest versions. 2022-04-08 18:37:20 +00:00
test-npm.yml Build/Test Tools: Update all 3rd party actions to their latest versions. 2022-04-08 18:37:20 +00:00
test-old-branches.yml Build/Test Tools: Add the 6.0 branch to the workflow for testing branches. 2022-05-03 17:42:22 +00:00
welcome-new-contributors.yml Build/Test Tools: Lower the timeout for GitHub Actions jobs so runaway or stalled processes don't risk running for the default timeout duration of six hours. 2021-11-23 17:40:00 +00:00