-
Notifications
You must be signed in to change notification settings - Fork 130
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: add PR labeler to show what parts of Zinit are changed (#211)
Signed-off-by: Vladislav Doster <mvdoster@gmail.com>
- Loading branch information
1 parent
a9c5c8d
commit 698a13b
Showing
2 changed files
with
33 additions
and
0 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 |
---|---|---|
@@ -0,0 +1,15 @@ | ||
# Add 'zinit` label to any change in a zinit file | ||
zinit: | ||
- zinit*.zsh | ||
# Add 'scripts` label to any change in scripts/ directory | ||
scripts: | ||
- scripts/* | ||
# Add 'docs` label to any change in docs/ directory | ||
docs: | ||
- docs/* | ||
# Add 'tests` label to any change in tests/ directory | ||
tests: | ||
- tests/* | ||
ci/cd: | ||
- .github/* | ||
- .github/**/* |
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,18 @@ | ||
# This workflow will triage pull requests and apply a label based on the | ||
# paths that are modified in the pull request. | ||
|
||
name: Labeler | ||
on: [pull_request] | ||
|
||
jobs: | ||
label: | ||
|
||
runs-on: ubuntu-latest | ||
permissions: | ||
contents: read | ||
pull-requests: write | ||
|
||
steps: | ||
- uses: actions/labeler@v4 | ||
with: | ||
repo-token: "${{ secrets.GITHUB_TOKEN }}" |