Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions .github/labeler.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# Add 'skip news' label for any changes created by pre-commit ci.
# If https://github.com/actions/labeler/pull/563 is merged, we can check author pre-commit-ci.
'skip news':
- changed-files:
- any-glob-to-any-file: .pre-commit-config.yaml
- base-branch: ['main']
- head-branch: ['pre-commit-ci-update-config']
12 changes: 12 additions & 0 deletions .github/workflows/labeler.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
name: "Pull Request Labeler"
on:
- pull_request_target

jobs:
labeler:
permissions:
contents: read
pull-requests: write
runs-on: ubuntu-latest
steps:
- uses: actions/labeler@v5
1 change: 1 addition & 0 deletions news/12605.trivial.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Automatically add ``skip news`` label to the pull request created by pre-commit ci.