Skip to content

Commit acfccd5

Browse files
author
ynbot
committed
[Automated] Update assign_pr_to_project caller workflow
1 parent d4cb03c commit acfccd5

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

.github/workflows/assign_pr_to_project.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,11 @@ on:
1717

1818
jobs:
1919
auto-assign-pr:
20+
if: ${{ github.event.pull_request.head.repo.full_name == github.repository }}
2021
uses: ynput/ops-repo-automation/.github/workflows/pr_to_project.yml@main
2122
with:
2223
repo: "${{ github.repository }}"
23-
project_id: ${{ inputs.project_id || 16 }}
24-
pull_request_number: ${{ github.event.pull_request.number || inputs.pr_number }}
24+
project_id: "${{ inputs.project_id }}"
25+
pull_request_number: "${{ github.event.pull_request.number || inputs.pr_number }}"
2526
secrets:
2627
token: ${{ secrets.YNPUT_BOT_TOKEN }}

0 commit comments

Comments
 (0)