Closed Kobzol closed 4 months ago
@Turbo87 Do you ever nees tk push to master on this repo without a PR? (Sorry if I already asked you before).
It should only be possible by bypassing branch protections, since master
has CI checks configured, so it shouldn't allow you to push normally.
nope, for this repo we only use PRs. that's only relevant for the index repos.
Ok, in that case I removed allowed-merge-teams
, it probably had no meaning here.
Repo: https://github.com/rust-lang/crates.io
Here we can see a case where both bors and the
crates-io
team had an explicit permission to push tomaster
:which we can now automate (
bors
is added to these teams automatically, that's why it's missing in the PR).However,
master
didn't require a PR before. I thought that our automation always requires a PR for each protected branch, but now that I think of it, if we setallowed-merge-teams
, which setspushActorIds
, and alsorestrictsPushes
, then maybe this allows only pushes and not PRs? (which is how bors works?).Extracted from GH: