Skip to content

Commit

Permalink
maint: make it possible to PR labeler manually
Browse files Browse the repository at this point in the history
Signed-off-by: Yury V. Zaytsev <yury@shurup.com>
  • Loading branch information
zyv committed Mar 6, 2025
1 parent b3b2cee commit bcc8074
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion .github/workflows/process-incoming-prs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,12 @@ name: Process incoming PRs
on:
pull_request_target:
types: [ opened ]
workflow_dispatch:
inputs:
pr_number:
description: PR number
required: true
type: number

jobs:
label-new-pr:
Expand All @@ -17,7 +23,7 @@ jobs:

steps:
- run: |
gh pr edit ${{ github.event.pull_request.number }} \
gh pr edit ${{ inputs.pr_number != '' && inputs.pr_number || github.event.pull_request.number }} \
--add-label "needs triage,prio: medium" \
--milestone "Future Releases"
env:
Expand Down

0 comments on commit bcc8074

Please sign in to comment.