Skip to content
New issue

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

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

Already on GitHub? # to your account

fix(backport): Workaround not to fail if no backport is needed #4707

Merged
merged 1 commit into from
Aug 9, 2024

Conversation

jfagoagas
Copy link
Member

Context

The backport action fails if the PR does not need a backport. The issue is known and reported in sorenlouv/backport-github-action#127

Description

Add a workaround to check first the labels included in the PR and if any starts with backport-to- the action will continue executing, if not it finishes.

Checklist

License

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

@jfagoagas jfagoagas requested a review from a team as a code owner August 9, 2024 06:44
@github-actions github-actions bot added the github_actions Pull requests that update GitHub Actions code label Aug 9, 2024
Copy link
Member

@pedrooot pedrooot left a comment

Choose a reason for hiding this comment

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

Thanks for this! 🔝

@pedrooot pedrooot merged commit 8bdff0d into master Aug 9, 2024
9 checks passed
@pedrooot pedrooot deleted the workaround-backport-fail-not-needed branch August 9, 2024 07:56
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
github_actions Pull requests that update GitHub Actions code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants