Skip to content

Conversation

mhofstetter
Copy link
Member

@mhofstetter mhofstetter commented Nov 28, 2023

Currently, some GitHub workflows are reporting back their status via GitHub Commit Status. The main reason is to link the status of the workflow run to a specific commit SHA. This is necessary for workflows that are triggered via Ariane (trigger workflows_dispatch).

However, if the same workflow is triggered via push (e.g. after a PR being merged), reporting the status via commit status is unnecessary, as the workflow is already linked to the correct commit SHA.

Therefore, this commit suppresses the commit status reporting in case of a push trigger.

Fixes: #29404

@mhofstetter mhofstetter added area/CI Continuous Integration testing issue or flake kind/cleanup This includes no functional changes. release-note/ci This PR makes changes to the CI. labels Nov 28, 2023
Currently, some GitHub workflows are reporting back their status via
GitHub Commit Status. The main reason is to link the status of the
workflow run to a specific commit SHA. This is necessary for workflows
that are triggered via Ariane (trigger `workflows_dispatch`).

However, if the same workflow is triggered via `push` (e.g. after a PR being
merged), reporting the status via commit status is unnecessary, as the workflow
is already linked to the correct commit SHA.

Therefore, this commit suppresses the commit status reporting in case of a
`push` trigger.

Signed-off-by: Marco Hofstetter <marco.hofstetter@isovalent.com>
@mhofstetter mhofstetter force-pushed the pr/mhofstetter/runtime-no-commit-status branch from 22e45cd to 4da2e0e Compare November 28, 2023 11:35
@mhofstetter mhofstetter marked this pull request as ready for review November 28, 2023 11:36
@mhofstetter mhofstetter requested review from a team as code owners November 28, 2023 11:36
@mhofstetter mhofstetter requested review from aanm and tklauser November 28, 2023 11:36
@mhofstetter
Copy link
Member Author

/test

Copy link
Member

@giorio94 giorio94 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@aanm aanm added this pull request to the merge queue Nov 28, 2023
Merged via the queue into cilium:main with commit 8acda5c Nov 28, 2023
@mhofstetter mhofstetter deleted the pr/mhofstetter/runtime-no-commit-status branch November 28, 2023 14:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/CI Continuous Integration testing issue or flake kind/cleanup This includes no functional changes. release-note/ci This PR makes changes to the CI.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants