Comments (9)
Support for #
and ?
has been added.
from amp-github-apps.
I like the ?
syntax - this was a problem we had with the bundle-size bot where we wanted some people to be able to review PRs, but not have them auto-added as reviewers.
The !
syntax is also useful, but I'm not sure whether the !!
syntax is a little over-engineery. I can't imagine a reasonable scenario where a !
user is notified, says nothing, and then regrets it after the PR has been merged by other OWNERS
from amp-github-apps.
@danielrozenberg Suppose languageperson
should have veto power over any *.protoascii
file changes, and I'm an owner of extensions/amp-foo
. I could create extensions/amp-foo/stuff.protoascii
, get a review from anyone, and submit (since I own it, I can approve it). In that case, it could be submitted before languageperson
ever gets the chance to see it or approve/reject.
I agree it's a corner-case, and probably worth holding off on implementing !!
until we see a need arise.
from amp-github-apps.
For *.protoascii
files I believe !someuser
would be sufficient. Being aware of an incoming change to validation rules is helpful but we don't always need to be gatekeepers of it as some changes are fairly straight-forward.
from amp-github-apps.
@honeybadgerdontcare I'm a little unclear now; your comment here suggests you would not need a "require-approval" gatekeeping syntax; whereas on this PR you suggest you'd look forward to/need the ability to require approval. Would you mind clarifying how important each is to you/your subteam?
from amp-github-apps.
Sorry for the confusion.
At this point in time I do not believe we need to be gatekeepers of extensions/validator-*.protoascii
but only be informed of them. If in time we find it necessary to be gatekeepers of extensions/validator-*.protoascii
then we would want to use !!someuser
syntax.
Typically validator rules review take less time than the javascript review so we have ample time to review it. Further these rules don't compile into the production javascript until they've been imported internally and compiled to validator.js. That allows us to have a second opportunity to review them then.
Any changes to validator/...
we would be gatekeepers of because that could involve changes to the validator engine.
from amp-github-apps.
Excellent, thanks!
from amp-github-apps.
Since there is a need for an "always-require" modifier, meaning a file requires approval from a particular owner even when they have approval from another owner, the planned syntax will be updated as follows:
!
- require review
#
- always notify/tag
?
- never auto-add reviewer
from amp-github-apps.
@rcebulko Thanks for working on this!
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.