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

🌱 github: add workflow to auto-approve golangci-lint if ok-to-test label is set #2255

Merged
merged 1 commit into from
Aug 21, 2023

Conversation

chrischdi
Copy link
Member

@chrischdi chrischdi commented Aug 18, 2023

What this PR does / why we need it:

Manual cross-repo cherry-pick of

Which issue(s) this PR fixes (optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close the issue(s) when PR gets merged):
Fixes #

@k8s-ci-robot k8s-ci-robot added the cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. label Aug 18, 2023
@chrischdi
Copy link
Member Author

/hold

until kubernetes-sigs/cluster-api#9244 is merged

@k8s-ci-robot k8s-ci-robot added size/M Denotes a PR that changes 30-99 lines, ignoring generated files. do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. labels Aug 18, 2023
@sbueringer
Copy link
Member

nit: Let's say merged and verified that it actually works :)

@chrischdi chrischdi changed the title github: add workflow to auto-approve golangci-lint if ok-to-test label is set 🌱 github: add workflow to auto-approve golangci-lint if ok-to-test label is set Aug 21, 2023
@chrischdi
Copy link
Member Author

Note:

got merged.

Copy link
Contributor

@killianmuldoon killianmuldoon left a comment

Choose a reason for hiding this comment

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

This worked for me in the CAPI implementation at kubernetes-sigs/cluster-api#9251

Thanks for tackling this @chrischdi!

/lgtm
/approve
/hold

(for someone else to validate if they want)

@k8s-ci-robot k8s-ci-robot added the lgtm "Looks good to me", indicates that a PR is ready to be merged. label Aug 21, 2023
@k8s-ci-robot
Copy link
Contributor

LGTM label has been added.

Git tree hash: 72a71a84914b634be5b0b8e0d98addb42a5d622d

@k8s-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: killianmuldoon

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@k8s-ci-robot k8s-ci-robot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Aug 21, 2023
@sbueringer
Copy link
Member

Perfect!

Thx for confirming

/lgtm
/hold cancel

@k8s-ci-robot k8s-ci-robot removed the do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. label Aug 21, 2023
@k8s-ci-robot k8s-ci-robot merged commit 2f371d7 into kubernetes-sigs:main Aug 21, 2023
9 of 11 checks passed
@k8s-ci-robot k8s-ci-robot added this to the v1.9 milestone Aug 21, 2023
@chrischdi chrischdi deleted the pr-gh-workflow-approve branch August 21, 2023 12:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files. cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. lgtm "Looks good to me", indicates that a PR is ready to be merged. size/M Denotes a PR that changes 30-99 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants