Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Create separate workflow for new/existing PRs/issues
This prevents the needs_triage label from being reapplied when issues/PRs are reopened or new commits are pushed to a PR.
- Loading branch information
Showing
5 changed files
with
42 additions
and
3 deletions.
There are no files selected for viewing
File renamed without changes.
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,5 @@ | ||
docs: | ||
- docs/* | ||
|
||
test: | ||
- 'test/*' |
File renamed without changes.
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,34 @@ | ||
name: Triage | ||
|
||
on: | ||
issues: | ||
types: | ||
- reopened | ||
|
||
pull_request_target: | ||
- reopened | ||
- synchronize | ||
|
||
jobs: | ||
triage: | ||
runs-on: ubuntu-latest | ||
name: Label | ||
|
||
steps: | ||
- name: Label pull requests | ||
uses: actions/labeler@v3 | ||
with: | ||
repo-token: "${{ secrets.GITHUB_TOKEN }}" | ||
configuration-path: .github/pr_labeler_existing.yml | ||
if: github.event_name == 'pull_request_target' | ||
|
||
- name: Label issues | ||
# This is the latest commit in the v2.4 branch. Waiting for a 2.4.1 or newer release. | ||
# https://github.com/github/issue-labeler/issues/24 | ||
uses: github/issue-labeler@99b4c5dda477c65f4ef08486b73c5787e1e33601 | ||
with: | ||
repo-token: "${{ secrets.GITHUB_TOKEN }}" | ||
not-before: 2021-12-07T07:00:00Z | ||
configuration-path: .github/issue_labeler.yml | ||
enable-versioned-regex: 0 | ||
if: github.event_name == 'issues' |
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