Comments (6)
👋 Hi @chingor13 ! Yes, the PR submitters are owners / maintainers. Unfortunately there's no feedback from the bot, so I suspect maybe it's just not seeing the PR? Not sure!
We are all part of a "group" "team" on github instead of individual access on the repo. Do you think this would matter?
UPDATE:
Yep, the group team matters. Apparently the bot does not support groups teams, you have to be individually added to the repo. That was unexpected! Any idea if this is a bug or feature? :)
from repo-automation-bots.
One thing to check is that the person attempting to do the cherry pick is an invited collaborator, owner, or member of the organization. This was a security feature to avoid abuse/unwanted use of the bot.
Collaborator is not included in the list of allowed roles. This is because (IIRC) a collaborator is someone who has submitted a PR that's been previously been submitted and is not a maintainer of the repo. This bot is intended to be used by maintainers of the repo.
Code refs:
repo-automation-bots/packages/cherry-pick-bot/src/bot.ts
Lines 33 to 38 in ebbe2c8
repo-automation-bots/packages/cherry-pick-bot/src/bot.ts
Lines 75 to 84 in ebbe2c8
from repo-automation-bots.
Any idea if this is a bug or feature?
The bot is only using the data available directly from the webhook. There are other API endpoints to query membership status (IIRC), but these often require extra permissions. This was not an intended feature as our use-case is usually encapsulated by organization membership.
Is your repo part of an organization? By group, do you mean a GitHub team?
from repo-automation-bots.
Any idea if this is a bug or feature?
The bot is only using the data available directly from the webhook. There are other API endpoints to query membership status (IIRC), but these often require extra permissions. This was not an intended feature as our use-case is usually encapsulated by organization membership.
Is your repo part of an organization? By group, do you mean a GitHub team?
Our repo is part of an organization, and yep a github team. (https://github.com/orgs/carvel-dev/teams/our-team)
from repo-automation-bots.
I can't find a definitive source on how GitHub decides which enum to give to the comment's author_association. If CONTRIBUTOR
is considered a higher privilege tier than MEMBER
(even though CONTRIBUTOR
could include folks outside), then I think we don't want to allow that level by default (the current behavior).
It might be possible to add a feature/configuration to opt-in the repository to allow CONTRIBUTORS
to use the bot (or perhaps configure the entire list of allowed author associations).
from repo-automation-bots.
Our github team is all admin
. So we have the higher permissions than contributors / members regardless. Just seems like the team aspect doesn't work, but when I add myself as an individual member with admin
- it works.
We got a work around for now, but it's kind of a pain and IMO defeats the purpose of teams.
from repo-automation-bots.
Related Issues (20)
- owlbot-bootstrapper: bad source-link URL HOT 1
- bug(owl-bot): Owlbot copy code PRs haven't been opened since September 21 HOT 1
- Query request(auto-approve): Request for available/possible customisation to use auto-approve bot HOT 2
- [OwlBot] OwlBot opens an issue if a library is removed from a monorepo
- [auto-approve] Docker deps not matching built-in regex
- Owlbot Copy error HOT 6
- release-please bot is being triggered when merging it's own PRs HOT 2
- Error: Changes must be made through a pull request.
- allow creation of a single automated PR per rep rather than multiple analogous PRs HOT 1
- Snippet Bot: Snippet check fails on first run only HOT 1
- auto-approve bot: The bot isn't approving PR as intended. HOT 2
- Comment on viable auto-approve candidates if they were not approved
- can't set repoToClone to a local directory
- Request access to repo-automation-bots project HOT 1
- LINT_PATHS in `noxfile.py` doesn't include `vertexai` HOT 1
- Release-please is not running on gax-nodejs HOT 2
- I can no longer access owlbot logs on PRs HOT 1
- Critical: Security Risks Identified in Automation Bots with node:14-slim Dockerfile Base Image
- bug(owlbot): `owlbot:run` label does not trigger owlbot; `owlbot:run` label is not removed HOT 5
- release-please creates pull requests that have already been merged
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from repo-automation-bots.