Repository navigation
chore: update policy to allow approvals by contributors - #9818
Merged
Merged
Conversation
This adds `allow_contributor: true` which allows approvals by contributors to the PR (but still not the author themself, which is a different thing). This allows things like pushing minor fixups while also approving. The `ignore_update_merges: true` option makes it so that someone is not considered a "contributor" just because they push the merge button. In principle this is not needed given the above, but I like it for clarity.
imsodin
approved these changes
Nov 12, 2024
calmh
added a commit
to calmh/syncthing
that referenced
this pull request
Nov 13, 2024
* upstream/main: chore: update policy to allow approvals by contributors (syncthing#9818) fix(gui): expand tildes for subdir check (fixes syncthing#9400) (syncthing#9788)
marbens-arch
added a commit
to marbens-arch/syncthing
that referenced
this pull request
Oct 6, 2025
This replaces `allow_contributor` with `allow_non_author_contributor`, because the former allows authors to approve their own pull requests. From syncthing#9818 (comment): > This adds `allow_contributor: true` which allows approvals by contributors to the PR (*but still not the author themself*, which is a different thing). This statement conflicts with [the policybot README](https://github.com/palantir/policy-bot/blob/c013552248d2a99911207fa5c0045428ac073fa2/README.md), which says: > If true, the approvals of someone who has committed to the pull request are > considered when calculating the status. > *The pull request author is considered a contributor.*
marbens-arch
added a commit
to marbens-arch/syncthing
that referenced
this pull request
Oct 6, 2025
This replaces `allow_contributor` with `allow_non_author_contributor`, because the former allows authors to approve their own pull requests. From syncthing#9818 (comment): > This adds `allow_contributor: true` which allows approvals by contributors to the PR (*but still not the author themself*, which is a different thing). This statement conflicts with [the policybot README](https://github.com/palantir/policy-bot/blob/c013552248d2a99911207fa5c0045428ac073fa2/README.md), which says: > If true, the approvals of someone who has committed to the pull request are > considered when calculating the status. > *The pull request author is considered a contributor.* Signed-off-by: Marcus B Spencer <[email protected]>
calmh
pushed a commit
that referenced
this pull request
Oct 6, 2025
This replaces `allow_contributor` with `allow_non_author_contributor`, because the former allows authors to approve their own pull requests. From #9818 (comment): > This adds `allow_contributor: true` which allows approvals by contributors to the PR (*but still not the author themself*, which is a different thing). This statement conflicts with [the policybot README](https://github.com/palantir/policy-bot/blob/c013552248d2a99911207fa5c0045428ac073fa2/README.md), which says: > If true, the approvals of someone who has committed to the pull request are > considered when calculating the status. > *The pull request author is considered a contributor.* Signed-off-by: Marcus B Spencer <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This adds
allow_contributor: truewhich allows approvals by contributors to the PR (but still not the author themself, which is a different thing). This allows things like pushing minor fixups while also approving.The
ignore_update_merges: trueoption makes it so that someone is not considered a "contributor" just because they push the merge button to update the branch. In principle this is not needed given the above, but I like it for clarity.