We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1af1f3a commit d4cb03cCopy full SHA for d4cb03c
.github/workflows/assign_pr_to_project.yml
@@ -1,5 +1,16 @@
1
name: 🔸Auto assign pr
2
on:
3
+ workflow_dispatch:
4
+ inputs:
5
+ pr_number:
6
+ type: number
7
+ description: "Run workflow for this PR number"
8
+ required: true
9
+ project_id:
10
11
+ description: "Github Project Number"
12
13
+ default: 16
14
pull_request:
15
types:
16
- opened
@@ -9,7 +20,7 @@ jobs:
20
uses: ynput/ops-repo-automation/.github/workflows/pr_to_project.yml@main
21
with:
22
repo: "${{ github.repository }}"
- project_id: 16
- pull_request_number: ${{ github.event.pull_request.number }}
23
+ project_id: ${{ inputs.project_id || 16 }}
24
+ pull_request_number: ${{ github.event.pull_request.number || inputs.pr_number }}
25
secrets:
26
token: ${{ secrets.YNPUT_BOT_TOKEN }}
0 commit comments