mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-24 12:54:40 +01:00
[Automated] Update assign_pr_to_project caller workflow
This commit is contained in:
parent
82d3948d47
commit
7ccf04ed58
1 changed files with 13 additions and 2 deletions
15
.github/workflows/assign_pr_to_project.yml
vendored
15
.github/workflows/assign_pr_to_project.yml
vendored
|
|
@ -1,5 +1,16 @@
|
|||
name: 🔸Auto assign pr
|
||||
on:
|
||||
workflow_dispatch:
|
||||
inputs:
|
||||
pr_number:
|
||||
type: number
|
||||
description: "Run workflow for this PR number"
|
||||
required: true
|
||||
project_id:
|
||||
type: number
|
||||
description: "Github Project Number"
|
||||
required: true
|
||||
default: 16
|
||||
pull_request:
|
||||
types:
|
||||
- opened
|
||||
|
|
@ -9,7 +20,7 @@ jobs:
|
|||
uses: ynput/ops-repo-automation/.github/workflows/pr_to_project.yml@main
|
||||
with:
|
||||
repo: "${{ github.repository }}"
|
||||
project_id: 16
|
||||
pull_request_number: ${{ github.event.pull_request.number }}
|
||||
project_id: ${{ inputs.project_id || 16 }}
|
||||
pull_request_number: ${{ github.event.pull_request.number || inputs.pr_number }}
|
||||
secrets:
|
||||
token: ${{ secrets.YNPUT_BOT_TOKEN }}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue