-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Test actions/labeler instead of the existing, stale auto-label action…
… that has an open issue for path read failures
- Loading branch information
1 parent
466e7ea
commit c173dab
Showing
5 changed files
with
852 additions
and
20 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
{ | ||
"rules": { | ||
"automerge": "policies/org_policy.json" | ||
"rules": { | ||
"automerge": "policies/org_policy.json" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
automerge-test: policies/org_policy_test.json |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,21 +1,22 @@ | ||
#################################################################### | ||
## Add an 'automerge' label to the PR based on file touched ## | ||
#################################################################### | ||
# #################################################################### | ||
# ## Add an 'automerge' label to the PR based on file touched ## | ||
# #################################################################### | ||
|
||
name: Auto-label | ||
# name: Auto-label | ||
|
||
on: | ||
pull_request: | ||
types: | ||
- opened | ||
# on: | ||
# pull_request: | ||
# types: | ||
# - opened | ||
# - synchronize | ||
|
||
jobs: | ||
pr-automation: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v2 | ||
- name: Auto label based on files touched. | ||
uses: banyan/auto-label@1.2 | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GH_TOKEN }} | ||
# jobs: | ||
# pr-automation: | ||
# runs-on: ubuntu-latest | ||
# steps: | ||
# - name: Checkout | ||
# uses: actions/checkout@v2 | ||
# - name: Auto label based on files touched. | ||
# uses: banyan/auto-label@1.2 | ||
# env: | ||
# GITHUB_TOKEN: ${{ secrets.GH_TOKEN }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
#################################################################### | ||
## Add an 'automerge' label to the PR based on file touched ## | ||
#################################################################### | ||
|
||
name: Labeler | ||
|
||
on: | ||
pull_request: | ||
types: | ||
- opened | ||
- synchronize | ||
|
||
jobs: | ||
triage: | ||
permissions: | ||
contents: read | ||
pull-requests: write | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/labeler@v4 |
Oops, something went wrong.