22#
33# This workflow is meant to be called by a deploy repo in response to a
44# repository_dispatch event sent by `odp-releaser notify`. It runs the
5- # `bump_images` composite action from this repo (checked out at the same
6- # commit as this workflow file), which reads the incoming client_payload and
5+ # `bump_images` composite action from this repo (resolved at the same commit
6+ # as this workflow file), which reads the incoming client_payload and
77# this repo's image manifest, then either commits the bump directly or opens
88# a pull request with the updated image references.
99#
@@ -364,26 +364,8 @@ jobs:
364364 permission-pull-requests : write
365365 permission-members : read
366366
367- - name : Checkout odp-releaser
368- # This reusable workflow's own repo, at the same commit GitHub
369- # resolved for this workflow file, so the local composite actions
370- # below (and the CLI they install) stay in lockstep with the caller's
371- # pinned workflow ref.
372- uses : actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
373- with :
374- repository : ${{ job.workflow_repository }}
375- ref : ${{ job.workflow_sha }}
376- path : .odp-releaser
377- persist-credentials : false
378-
379- - name : Hide the odp-releaser checkout from git
380- # Keep the nested checkout out of the bump: the bump_images action's
381- # `git add -A` and peter-evans/create-pull-request (which commits
382- # untracked files) both skip ignored paths.
383- run : echo "/.odp-releaser/" >> .git/info/exclude
384-
385367 - name : Install ODP Releaser
386- uses : ./.odp-releaser /.github/actions/install
368+ uses : $ /.github/actions/install
387369 with :
388370 cache_suffix : odp-releaser-${{ job.workflow_sha }}
389371
@@ -426,7 +408,7 @@ jobs:
426408
427409 - name : Bump images
428410 id : bump
429- uses : ./.odp-releaser /.github/actions/bump_images
411+ uses : $ /.github/actions/bump_images
430412 with :
431413 sync : ${{ inputs.sync }}
432414 client_payload :
@@ -463,7 +445,7 @@ jobs:
463445 env.HAS_REPORTER_APP == 'true' && inputs.dry_run != true &&
464446 steps.bump.outputs.changed == 'true'
465447 continue-on-error : true
466- uses : ./.odp-releaser /.github/actions/report_deployment
448+ uses : $ /.github/actions/report_deployment
467449 with :
468450 client_payload :
469451 ${{ inputs.client_payload || toJSON(github.event.client_payload) }}
@@ -489,7 +471,7 @@ jobs:
489471 steps.bump.outputs.comment_enabled == 'true' &&
490472 steps.bump.outputs.comment_pr_number != ''
491473 continue-on-error : true
492- uses : ./.odp-releaser /.github/actions/comment_on_pr
474+ uses : $ /.github/actions/comment_on_pr
493475 with :
494476 client_payload :
495477 ${{ inputs.client_payload || toJSON(github.event.client_payload) }}
0 commit comments