Skip to content

Commit 5e1563a

Browse files
authored
feat: support CODEOWNERS in pr approval helpers (#29)
1 parent 79d19b8 commit 5e1563a

31 files changed

+2448
-125
lines changed

.eslintrc.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,8 @@
5858
"github/no-then": "off",
5959
"i18n-text/no-en": "off",
6060
"import/no-unresolved": "off",
61-
"filenames/match-regex": [2, "(^[a-z-]+$)|(^[a-z-]+\\.test$)"]
61+
"filenames/match-regex": [2, "(^[a-z-]+$)|(^[a-z-]+\\.test$)"],
62+
"quotes": ["error", "single"]
6263
},
6364
"env": {
6465
"node": true,

.github/CODEOWNERS

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
# Order is important; the last matching pattern takes the most precedence.
2+
# These owners will be the default owners for everything in
3+
# the repo. Unless a later match takes precedence
4+
5+
* @ExpediaGroup/github-helpers-committers
6+
7+
/file/path/1 @ExpediaGroup/test-owners-1
8+
/file/path/2 @ExpediaGroup/test-owners-2

.github/workflows/add-pr-approval-label.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@ jobs:
1717
- uses: ./
1818
with:
1919
helper: add-pr-approval-label
20-
teams: Repo-Maintainers
2120
login: ${{ github.event.review.user.login }}
2221
pull_number: ${{ github.event.pull_request.number }}
2322
github_token: ${{ secrets.GH_PERSONAL_ACCESS_TOKEN }} # must have read:org permission

.github/workflows/assign-pr-reviewers.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@ jobs:
1717
- uses: ./
1818
with:
1919
helper: assign-pr-reviewers
20-
teams: Repo-Maintainers
2120
login: ${{ github.event.review.user.login }}
2221
pull_number: ${{ github.event.pull_request.number }}
2322
github_token: ${{ secrets.GH_PERSONAL_ACCESS_TOKEN }} # must have read:org permission

dist/154.index.js

Lines changed: 54 additions & 12 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)