Skip to content

Commit 2353d0b

Browse files
authored
Merge pull request #471 from Sohaibameer204/auto-label-precommit-prs
2 parents 225a14f + 289fc1c commit 2353d0b

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
name: Label Pre-Commit PRs
2+
3+
on:
4+
pull_request:
5+
types: [opened, synchronize]
6+
7+
jobs:
8+
label:
9+
if: github.actor == 'pre-commit-ci[bot]'
10+
runs-on: ubuntu-latest
11+
permissions:
12+
pull-requests: write
13+
steps:
14+
- name: Add "no releasenotes" label
15+
uses: actions-ecosystem/action-add-labels@v1
16+
with:
17+
github_token: ${{ secrets.GITHUB_TOKEN }}
18+
labels: no releasenotes

0 commit comments

Comments
 (0)