-
Notifications
You must be signed in to change notification settings - Fork 2.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #2914 from FunkinCrew/docs/changed-lines-count-lab…
…eler Add change counts labels to Actions labeler
- Loading branch information
Showing
2 changed files
with
26 additions
and
1 deletion.
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,12 @@ | ||
# Add 'small' to any changes below 10 lines | ||
small: | ||
max: 9 | ||
|
||
# Add 'medium' to any changes between 10 and 100 lines | ||
medium: | ||
min: 10 | ||
max: 99 | ||
|
||
# Add 'large' to any changes for more than 100 lines | ||
large: | ||
min: 100 |
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 |
---|---|---|
|
@@ -9,6 +9,19 @@ jobs: | |
pull-requests: write | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/labeler@v5 | ||
- name: Set basic labels | ||
uses: actions/labeler@v5 | ||
with: | ||
sync-labels: true | ||
changed-lines-count-labeler: | ||
permissions: | ||
contents: read | ||
pull-requests: write | ||
runs-on: ubuntu-latest | ||
name: An action for automatically labelling pull requests based on the changed lines count | ||
steps: | ||
- name: Set change count labels | ||
uses: vkirilichev/[email protected] | ||
with: | ||
repo-token: ${{ secrets.GITHUB_TOKEN }} | ||
configuration-path: .github/changed-lines-count-labeler.yml |