-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
port labeler changes over from OpenNMS/opennms
- Loading branch information
Benjamin Reed
committed
Jun 21, 2023
1 parent
24085e9
commit 389023d
Showing
5 changed files
with
22 additions
and
18 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 |
---|---|---|
|
@@ -3,4 +3,8 @@ | |
- Bonrob2 | ||
|
||
"docs/**/*": | ||
- Bonrob2 | ||
- Bonrob2 | ||
|
||
".circleci/**/*": | ||
- RangerRick | ||
- mershad-manesh |
This file was deleted.
Oops, something went wrong.
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,4 @@ | ||
docs: | ||
- 'docs/*' | ||
- 'docs/**/*' | ||
- '**/*.adoc' |
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,7 +1,7 @@ | ||
name: "Auto Assign Pull Request" | ||
on: | ||
pull_request: | ||
types: [review_requested, ready_for_review, opened, synchronize, reopened] | ||
# types: [review_requested, ready_for_review, opened, synchronize, reopened] | ||
branches: | ||
- develop | ||
- master | ||
|
@@ -10,7 +10,7 @@ jobs: | |
if: github.event.pull_request.draft == false | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: shufo/[email protected].3 | ||
- uses: shufo/[email protected].4 | ||
with: | ||
config: ".github/assign-by-files.yml" | ||
token: ${{ secrets.GITHUB_TOKEN }} | ||
token: ${{ secrets.GITHUB_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 |
---|---|---|
@@ -1,16 +1,16 @@ | ||
# Workflow to associate labels automatically | ||
name: PR-Labeler | ||
# Trigger the workflow on pull request events | ||
on: [pull_request] | ||
on: | ||
- pull_request_target | ||
|
||
jobs: | ||
label: | ||
runs-on: ubuntu-18.04 | ||
permissions: | ||
contents: read | ||
pull-requests: write | ||
runs-on: ubuntu-latest | ||
steps: | ||
# We need to checkout the repository to access the configured file (.github/label-pr.yml) | ||
- uses: actions/checkout@v2 | ||
- name: Labeler | ||
uses: docker://decathlon/pull-request-labeler-action:2.0.0 | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
# Here we can override the path for the action configuration. If none is provided, default one is `.github/label-pr.yml` | ||
CONFIG_PATH: ${{ secrets.GITHUB_WORKSPACE }}/.github/label-pr.yml | ||
- uses: actions/labeler@v4 | ||
with: | ||
repo-token: "${{ secrets.GITHUB_TOKEN }}" |