Skip to content

Commit d5891b2

Browse files
authored
Workflow to label PRs with "needs release notes" (#1239)
1 parent b2f088f commit d5891b2

File tree

3 files changed

+18
-0
lines changed

3 files changed

+18
-0
lines changed

.github/labeler.yml

+2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
needs release notes:
2+
- all: ['!docs/release.rst']
+13
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
name: "Pull Request Labeler"
2+
3+
on:
4+
- pull_request_target
5+
6+
jobs:
7+
triage:
8+
runs-on: ubuntu-latest
9+
steps:
10+
- uses: actions/labeler@main
11+
with:
12+
repo-token: ${{ secrets.GITHUB_TOKEN }}
13+
sync-labels: true

docs/release.rst

+3
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,9 @@ Maintenance
2929
* Remove ``tox`` support
3030
By :user:`Saransh Chopra <Saransh-cpp>` :issue:`1219`.
3131

32+
* Add workflow to label PRs with "needs release notes".
33+
By :user:`Saransh Chopra <Saransh-cpp>` :issue:`1239`.
34+
3235
* Simplify if/else statement.
3336
By :user:`Dimitri Papadopoulos Orfanos <DimitriPapadopoulos>` :issue:`1227`.
3437

0 commit comments

Comments
 (0)