-
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.
- Loading branch information
1 parent
b8d3f34
commit 49b20e5
Showing
4 changed files
with
35 additions
and
27 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
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
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
15 changes: 8 additions & 7 deletions
15
.github/workflows/pr-labels.yaml → .github/workflows/verify-pr-labels.yml
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,22 +1,23 @@ | ||
--- | ||
name: PR | ||
name: PR Labels | ||
|
||
# yamllint disable-line rule:truthy | ||
on: | ||
pull_request_target: | ||
types: [opened, labeled, unlabeled, synchronize] | ||
|
||
jobs: | ||
verify_pr_labels: | ||
name: 🏷 Verify Labels | ||
pr-labels: | ||
name: Verify | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- name: ✅ Verify PR has a valid label | ||
- name: Verify PR has a valid label | ||
uses: jesusvasquez333/[email protected] | ||
with: | ||
github-token: "${{ secrets.GITHUB_TOKEN }}" | ||
pull-request-number: "${{ github.event.pull_request.number }}" | ||
valid-labels: >- | ||
breaking-change, bugfix, documentation, enhancement, | ||
refactor, performance, new-feature, maintenance, ci, dependencies | ||
breaking-change, bugfix, hotfix, documentation, enhancement, | ||
refactor, performance, new-feature, maintenance, ci, | ||
dependencies, skip-changelog | ||
disable-reviews: true |