Skip to content

Commit 33a1f08

Browse files
authored
Merge pull request #233 from ScalefreeCOM/delete-branch-comment-result
adjust inputs and target branch
2 parents a054b57 + f07915e commit 33a1f08

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/trigger_remote_workflow.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ jobs:
7777
-H "Accept: application/vnd.github+json" \
7878
-H "X-GitHub-Api-Version: 2022-11-28" \
7979
/repos/ScalefreeCOM/datavault4dbt-ci-cd/actions/workflows/reusable-workflow.yml/dispatches \
80-
-f "ref=PR-Branch-testing" -f "inputs[pr_branch]=pull/${{ steps.extract-artifact.outputs.prid }}" -f "inputs[all_env]=true"
80+
-f "ref=main" -f "inputs[pr_branch]=pull/${{ steps.extract-artifact.outputs.prid }}" -f "inputs[all_env]=true" -f "inputs[pr_id]=${{ steps.extract-artifact.outputs.prid }}" -f "inputs[remote-triggered]=true"
8181
8282
- name: trigger-labeled-workflow
8383
if: ${{ steps.extract-artifact.outputs.labels == 'true' && steps.user_affiliation.outputs.isTeamMember == 'true'}}
@@ -89,5 +89,5 @@ jobs:
8989
-H "Accept: application/vnd.github+json" \
9090
-H "X-GitHub-Api-Version: 2022-11-28" \
9191
/repos/ScalefreeCOM/datavault4dbt-ci-cd/actions/workflows/reusable-workflow.yml/dispatches \
92-
-f "ref=PR-Branch-testing" -f "inputs[pr_branch]=pull/${{ steps.extract-artifact.outputs.prid }}" -f "inputs[all_env]=true"
92+
-f "ref=main" -f "inputs[pr_branch]=pull/${{ steps.extract-artifact.outputs.prid }}" -f "inputs[all_env]=true" -f "inputs[pr_id]=${{ steps.extract-artifact.outputs.prid }}" -f "inputs[remote-triggered]=true"
9393

0 commit comments

Comments
 (0)