Skip to content

ci: workflows: check for manifest dnm in the manifest workflow #88952

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

fabiobaltieri
Copy link
Member

The current CI setup sets the manifest DNM label in a workflow and checks it in a different workflow. The one performing the check is configured to rerun on label changes but it's been reported few times that the rerun logic does not seem to always run effectively and there's been cases where the manifest has been fixed but the label has not been removed by the automation, resulting in a stale PR.

Since the manifest has its own dedicated label, fix this race condition by checking for that label specifically in the manifest workflow rather than in a separate one, this means that the check is always performed after the script that sets the label.

It also means that on manifest changes the manifest step itself will fail rather than the PR metadata check one.

The current CI setup sets the manifest DNM label in a workflow and
checks it in a different workflow. The one performing the check is
configured to rerun on label changes but it's been reported few times
that the rerun logic does not seem to always run effectively and there's
been cases where the manifest has been fixed but the label has not been
removed by the automation, resulting in a stale PR.

Since the manifest has its own dedicated label, fix this race condition
by checking for that label specifically in the manifest workflow rather
than in a separate one, this means that the check is always performed
after the script that sets the label.

It also means that on manifest changes the manifest step itself will
fail rather than the PR metadata check one.

Signed-off-by: Fabio Baltieri <[email protected]>
@fabiobaltieri fabiobaltieri added DNM (manifest) This PR should not be merged (controlled by action-manifest) and removed DNM (manifest) This PR should not be merged (controlled by action-manifest) labels Apr 23, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants