Skip to content

Commit 8759292

Browse files
authored
Workflow to label PRs with "needs release notes" (#396)
1 parent d2678e3 commit 8759292

File tree

3 files changed

+18
-0
lines changed

3 files changed

+18
-0
lines changed

.github/labeler.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
needs release notes:
2+
- all: ['!docs/release.rst']
Lines changed: 13 additions & 0 deletions
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

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,9 @@ Maintenance
5656
* Add tests for all registry classes.
5757
By :user:`Josh Moore <joshmoore>`, :issue:`349`.
5858

59+
* Add workflow to label PRs with "needs release notes".
60+
By :user:`Saransh Chopra <Saransh-cpp>` :issue:`396`.
61+
5962
* Finish ``pyproject.toml`` migration.
6063
By :user:`John Kirkham <jakirkham>` :issue:`382`.
6164

0 commit comments

Comments
 (0)