@@ -2,7 +2,7 @@ name: Update builder.toml files and Send Pull Request
22
33on :
44 schedule :
5- - cron : ' 36 0,12 * * *' # daily at 00:36 and 12:36 UTC
5+ - cron : ' 27 2,14 * * *' # daily at 02:27 and 14:27 UTC
66 workflow_dispatch : {}
77
88concurrency : builder_update
1818 builders : ${{ steps.get-builders.outputs.builders }}
1919 steps :
2020 - name : Checkout
21- uses : actions/checkout@v5
21+ uses : actions/checkout@v6
2222
2323 - name : Get Builders
2424 id : get-builders
@@ -58,12 +58,13 @@ jobs:
5858 commit_sha : ${{ steps.commit.outputs.commit_sha }}
5959 needs : preparation
6060 strategy :
61+ max-parallel : 1
6162 matrix :
6263 builders : ${{ fromJSON(needs.preparation.outputs.builders) }}
6364
6465 steps :
6566 - name : Check out
66- uses : actions/checkout@v5
67+ uses : actions/checkout@v6
6768
6869 - name : Checkout branch
6970 uses : paketo-buildpacks/github-config/actions/pull-request/checkout-branch@main
@@ -92,15 +93,24 @@ jobs:
9293 branch : " automation/builder-toml-update"
9394
9495 - name : Output commit sha
96+ if : ${{ steps.commit.outputs.commit_sha != '' }}
9597 run : echo "commit_sha=${{ steps.commit.outputs.commit_sha }}" >> "$GITHUB_OUTPUT"
9698
9799 open-pull-request :
98100 name : Open pull request
99101 runs-on : ubuntu-24.04
100102 needs : update
103+ if : ${{ needs.update.outputs.commit_sha != '' }}
101104 steps :
105+ - name : Check out
106+ uses : actions/checkout@v6
107+
108+ - name : Checkout branch
109+ uses : paketo-buildpacks/github-config/actions/pull-request/checkout-branch@main
110+ with :
111+ branch : " automation/builder-toml-update"
112+
102113 - name : Open Pull Request
103- if : ${{ needs.update.outputs.commit_sha != '' }}
104114 uses : paketo-buildpacks/github-config/actions/pull-request/open@main
105115 with :
106116 token : ${{ secrets.PAKETO_BOT_GITHUB_TOKEN }}
0 commit comments