Skip to content

Commit 56c8f16

Browse files
committed
Use updated actions
1 parent 0d4b99c commit 56c8f16

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

.github/workflows/pipelines-root.yml

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -643,7 +643,6 @@ jobs:
643643
id: access_control_account
644644
uses: ./pipelines-actions/.github/actions/pipelines-provision-access-control-action
645645
with:
646-
gruntwork_context: ${{ toJson(steps.gruntwork_context.outputs) }}
647646
job: ${{ toJson(fromJson(needs.pipelines_orchestrate.outputs.pipelines_jobs)[0]) }}
648647
PIPELINES_GRUNTWORK_READ_TOKEN: ${{ steps.pipelines-gruntwork-read-token.outputs.PIPELINES_TOKEN }}
649648
PIPELINES_CUSTOMER_ORG_READ_TOKEN: ${{ steps.pipelines-customer-org-read-token.outputs.PIPELINES_TOKEN }}
@@ -653,9 +652,9 @@ jobs:
653652
id: provision_delegated_repo
654653
uses: ./pipelines-actions/.github/actions/pipelines-provision-repo-action
655654
with:
656-
gruntwork_context: ${{ toJson(steps.gruntwork_context.outputs) }}
657655
job: ${{ toJson(fromJson(needs.pipelines_orchestrate.outputs.pipelines_jobs)[0]) }}
658656
access_control_pull_request_url: ${{ steps.access_control_account.outputs.pull_request_url }}
657+
new_account_name: ${{ fromJson(needs.pipelines_orchestrate.outputs.pipelines_jobs)[0].NewAccounts[0].Name }}
659658
PIPELINES_GRUNTWORK_READ_TOKEN: ${{ steps.pipelines-gruntwork-read-token.outputs.PIPELINES_TOKEN }}
660659
PIPELINES_CUSTOMER_ORG_READ_TOKEN: ${{ steps.pipelines-customer-org-read-token.outputs.PIPELINES_TOKEN }}
661660
ORG_REPO_ADMIN_TOKEN: ${{ steps.pipelines-org-repo-admin-token.outputs.PIPELINES_TOKEN }}
@@ -673,11 +672,10 @@ jobs:
673672
- name: "Create delegated repo pull request"
674673
uses: ./pipelines-actions/.github/actions/pipelines-new-pr-action
675674
with:
676-
GH_TOKEN: ${{ steps.pipelines-org-repo-admin-token.outputs.PIPELINES_TOKEN }}
675+
job: ${{ toJson(fromJson(needs.pipelines_orchestrate.outputs.pipelines_jobs)[0]) }}
677676
delegated_repo_path: ${{ steps.provision_delegated_repo.outputs.delegated_repo_path }}
678-
delegated_repo_name: ${{ steps.provision_delegated_repo.outputs.delegated_repo_name }}
679-
requesting_pr_number: ${{ steps.provision_delegated_repo.outputs.requesting_pr_number || 131 }} # TODO: Remove hardcoded number neccessary due to testing on unmerged PR by testing
680677
access_control_pr_url: ${{ steps.access_control_account.outputs.pull_request_url }}
678+
GH_TOKEN: ${{ steps.pipelines-org-repo-admin-token.outputs.PIPELINES_TOKEN }}
681679

682680
pipelines_status_check:
683681
name: "Pipelines Status Check"

0 commit comments

Comments
 (0)