wordpress-develop/.github
Jonathan Desrosiers b6394c2e9f Build/Test Tools: Improve the accuracy of “fixed” Slack notifications.
This adjusts the logic of the Slack Notifications workflow to make the “fixed” notifications more reliable.

Currently, the workflow looks at the immediately preceding workflow run for the current branch. This fails to indicate that a workflow is fixed when other unrelated commits are made, and when rerunning the workflow after a false failure (timeout, etc.).

The workflow will now use the following logic to determine if something has been fixed:
- When a workflow is rerun, the conclusion for the immediately preceding run attempt will now be used to determine if the current attempt has “fixed” the workflow.
- When on the first run attempt for a workflow run, the workflow conclusion for the immediately preceding commit will be used.
- When on the first run attempt for a workflow run and no preceding commits for the current branch are present (this is a fresh tag or branch), always consider it “fixed”.

Props davidbaumwald.
See #54742.

git-svn-id: https://develop.svn.wordpress.org/trunk@53108 602fd350-edb4-49c9-b593-d223f7449a82
2022-04-08 13:57:44 +00:00
..
workflows Build/Test Tools: Improve the accuracy of “fixed” Slack notifications. 2022-04-08 13:57:44 +00:00
codecov.yml Disable comments from codecov. 2021-03-01 16:56:08 +00:00
dependabot.yml Build/Test Tools: Configure Dependabot scanning for GitHub Actions. 2021-11-24 14:49:24 +00:00
pull_request_template.md General: Introduce a pull request template. 2020-02-21 18:23:28 +00:00