Skip to content

chore: update policy to allow approvals by contributors - #9818

Merged
calmh merged 1 commit into
syncthing:mainfrom
calmh:jb/policy
Nov 12, 2024
Merged

calmh merged 1 commit into
syncthing:mainfrom
calmh:jb/policy

Conversation

@calmh

@calmh calmh commented Nov 12, 2024 •

Copy link
Copy Markdown
Member

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 to update the branch. In principle this is not needed given the above, but I like it for clarity.

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.
@calmh
calmh merged commit 896f972 into syncthing:main 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)
@calmh calmh added this to the v1.28.1 milestone Nov 14, 2024
@calmh
calmh deleted the jb/policy branch February 12, 2025 08:46
@calmh calmh added the chore label May 29, 2025
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]>
@st-review st-review added the frozen-due-to-age Issues closed and untouched for a long time, together with being locked for discussion label Jul 1, 2026
@syncthing syncthing locked and limited conversation to collaborators Jul 1, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

chore frozen-due-to-age Issues closed and untouched for a long time, together with being locked for discussion

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants