Comments (5)
Well...about that...
Currently the bot works by pushing to a cloud repository which is separate from this repo, which I wrote a script to do by copy-pasting from a local amp-github-apps
repo to a local amp-owners-bot
repo, then pushing. When you run gcloud instances reset
(or something like that), it restarts the instance and runs a startup-script
which is part of the GCE instance metadata and contains a combination of startup script things (logging, checking out code, installing stuff, starting node under supervisord
) along will a bunch of both sensitive and standard env variables. So, GCE settings and env vars are kinda one big blob at the moment. In theory there is a metadata key-value store in GCE settings, but I'm uncertain how easy it is to access these values within the app. The first step will be to move public-safe (ie. not Oauth/API tokens and keys) to a .env
file where possible, and strip the massive startup-script
into smaller pieces that can be checked into the repo. As that happens, we'll have a better idea of what options are available to us re: configuration.
from amp-github-apps.
When suggesting reviewers, we should only suggest those in the
ampproject/reviewers-amphtml
group.
Agree, this should absolutely be the behavior.
The proposed approach sounds good in general. Re: ALLOWED_REVIEWERS_TEAM
, are env variables the only means of passing data to a bot instance? Or is there an alternative way to configure an instance via, say, GCE settings?
from amp-github-apps.
Update: Created tracking issue for the configuration/deployment issues #500
from amp-github-apps.
This is implemented; closing
from amp-github-apps.
Reopening this issue based on a discussion on our team chat. Today, the following statement from the original discussion does not hold true:
When suggesting reviewers, we should only suggest those in the ampproject/reviewers-amphtml group.
Here are some ideas:
- If possible, suggested reviewer(s) will be selected from the intersection of the set of owners and the set of members of
ampproject/reviewers-amphtml
. - If none of the owners are members of
ampproject/reviewers-amphtml
, then select an arbitrary owner. It's that owner's responsibility to add a valid reviewer. (this should be rare)
WDYT?
from amp-github-apps.
Related Issues (20)
- Dependency Dashboard
- Migrate TypeScript ESLint rules to use new "naming-convention" rule
- Update PR deploy internals to work on CircleCI HOT 1
- Update test status reporting internals to work on CircleCI
- Update bundle-size internals to work on CircleCI
- Update test case reporting internals to work on CircleCI
- Update project metrics internals to work on CircleCI
- Add dist.3p/current-min/vendor/*.js to bundle size check
- Rename the default branch of this repo to `main` HOT 1
- [owners] Add a mechanism to recognize specific bot accounts as legitimate reviewers HOT 4
- Owners Bot: Comments during Draft PRs leads to noise HOT 1
- Dependency Dashboard
- [release calendar] Clicking on any white box next to a release channel makes all calendar info disappear HOT 1
- [release calendar] Pop-up with additional releases sometimes gets cut off
- [release calendar] Pop-up with release info sometimes appears outside the viewport
- [release calendar] Make release calendar accessible from amp.dev
- Add a link in release tool
- [release calendar] Write unit tests
- FR: Approval should not clobber sizes
- Action Required: Fix Renovate Configuration
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 amp-github-apps.