Skip to content

Commit c0b9150

Browse files
committed
maint: add workflow to process incoming PRs
Signed-off-by: Yury V. Zaytsev <[email protected]>
1 parent 8418bc0 commit c0b9150

File tree

1 file changed

+22
-0
lines changed

1 file changed

+22
-0
lines changed
+22
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
name: Process incoming PRs
2+
3+
on:
4+
pull_request:
5+
types: [ opened ]
6+
7+
jobs:
8+
label-new-pr:
9+
runs-on: ubuntu-latest
10+
timeout-minutes: 5
11+
12+
permissions:
13+
pull-requests: write
14+
15+
steps:
16+
- run: |
17+
gh pr edit ${{ github.event.pull_request.number }} \
18+
--add-label "needs triage,prio: medium" \
19+
--milestone "Future Releases"
20+
env:
21+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
22+
GH_REPO: ${{ github.repository }}

0 commit comments

Comments
 (0)