-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: update PR labeling workflow (#19)
- Loading branch information
1 parent
bd90ec6
commit e33d5c8
Showing
1 changed file
with
5 additions
and
6 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,14 +1,13 @@ | ||
# Warning, do not check out untrusted code with | ||
# the pull_request_target event. | ||
name: Label Pull Request | ||
# This workflow sets labels on pull requests with names that follow Conventional Commits conventions | ||
name: Pull Request Labeler | ||
on: | ||
pull_request_target: | ||
types: [ opened, edited ] | ||
jobs: | ||
label: | ||
runs-on: ubuntu-latest | ||
runs-on: ubuntu-22.04 | ||
steps: | ||
- uses: bcoe/[email protected] | ||
with: | ||
type_labels: {"feat": "feature", "fix": "fix", "docs": "documentation", "test": "tests", "tests": "tests"} | ||
ignored_types: [] | ||
type_labels: '{"feat": "feature", "fix": "fix", "docs": "documentation", "test": "tests", "tests": "tests", "chore": "chore"}' | ||
ignored_types: '[]' |