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

Fix approval requirement if PR is closed #4902

Merged
merged 1 commit into from
Feb 26, 2025

Conversation

qwerty287
Copy link
Contributor

It is easily possible currently to go around the approval requirement for PRs, you can see that at https://ci.woodpecker-ci.org/repos/3780/pipeline/25684: If the PR is closed the config from the PR is used, but it does not need an approval.

This should be released right after merging in 3.2 I think…

But tbh I'm not really happy with the fix, as it will also need approval for merged pull requests. We don't have a way to indicate that currently though.

@qwerty287 qwerty287 requested a review from a team February 26, 2025 15:02
@qwerty287 qwerty287 merged commit 4bf5116 into woodpecker-ci:main Feb 26, 2025
6 of 7 checks passed
@qwerty287 qwerty287 deleted the fix-pr-closed-gate branch February 26, 2025 15:11
@woodpecker-bot woodpecker-bot mentioned this pull request Feb 26, 2025
1 task
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants