Skip to content
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

backport-v1: fixes to semver label #2787

Merged
merged 2 commits into from
Sep 22, 2023

Conversation

EmilienM
Copy link
Contributor

  • ci/semver-auto: return a failure only when needed
  • Fix semver-auto

When go-apidiff returns semver=major, it returns RC=1 which causes the
workflow to return an error while we don't want that, we just want the
label to be applied.

Instead, let's ignore that error so the label can be set later and add a
step to check if an error occured and semver is not major, then it's an
actual problem that we should check in the logs (e.g. an issue when
running go-apidiff).

(cherry picked from commit 12ff5eb)
In my previous commit, I didn't read the output, fixing now.

(cherry picked from commit 2999b21)
Copy link
Contributor

@mandre mandre left a comment

Choose a reason for hiding this comment

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

Clean backport of #2765 and #2773

@EmilienM EmilienM merged commit b024625 into gophercloud:v1 Sep 22, 2023
14 checks passed
@EmilienM EmilienM deleted the backport_label_fix branch September 22, 2023 14:53
@github-actions github-actions bot added the semver:patch No API change label Sep 22, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
semver:patch No API change
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants