-
-
Notifications
You must be signed in to change notification settings - Fork 616
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore(CI): split PR labeler workflow (#9102)
* chore(CI): split PR labeler workflow * fix * fix
- Loading branch information
1 parent
494aaa1
commit bd65828
Showing
2 changed files
with
26 additions
and
15 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 |
---|---|---|
|
@@ -7,8 +7,6 @@ on: | |
- edited | ||
|
||
permissions: | ||
# Allow `github/issue-labeler` to add labels | ||
issues: write | ||
# Allow `amannn/action-semantic-pull-request` to read pull requests | ||
pull-requests: read | ||
|
||
|
@@ -53,16 +51,3 @@ jobs: | |
# Configure additional validation for the subject based on a regex. | ||
ignoreLabels: | | ||
bot | ||
release-labeling: | ||
# See context at https://github.com/web-infra-dev/rspack/discussions/2760 | ||
name: Labeling for releasing | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: github/[email protected] | ||
with: | ||
repo-token: "${{ secrets.GITHUB_TOKEN }}" | ||
configuration-path: .github/pr-labeler.yml | ||
enable-versioned-regex: 0 | ||
include-title: 1 | ||
sync-labels: 1 |
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,26 @@ | ||
name: PR Labeler | ||
|
||
on: | ||
pull_request_target: | ||
types: | ||
- opened | ||
- edited | ||
|
||
permissions: | ||
# Allow `github/issue-labeler` to add labels | ||
issues: write | ||
pull-requests: write | ||
|
||
jobs: | ||
release-labeling: | ||
# See context at https://github.com/web-infra-dev/rspack/discussions/2760 | ||
name: Labeling for releasing | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: github/[email protected] | ||
with: | ||
repo-token: "${{ secrets.GITHUB_TOKEN }}" | ||
configuration-path: .github/pr-labeler.yml | ||
enable-versioned-regex: 0 | ||
include-title: 1 | ||
sync-labels: 1 |
bd65828
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
📝 Benchmark detail: Open
bd65828
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
📝 Ecosystem CI detail: Open