11# ==================================================================================================
2- # Aspect Workflows Reusable Workflow for GitHub Actions ( v5.12.1)
2+ # Aspect Workflows Reusable Workflow for GitHub Actions v5.14.0
33#
4- # https://github.com/marketplace/actions/ aspect-workflows?version=5.12.1
4+ # https://github.com/aspect-build/ workflows-action/blob/5.14.0/.github/workflows/.aspect-workflows-reusable.yaml
55#
66# At this time, GitHub Actions does not allow referencing reusable workflows from public
77# repositories in other organizations. See
3737# jobs:
3838# aspect-workflows:
3939# name: Aspect Workflows
40- # uses: my-github-org/workflows-action/.github/workflows/.aspect-workflows-reusable.yaml@5.12.1
40+ # uses: my-github-org/workflows-action/.github/workflows/.aspect-workflows-reusable.yaml@5.14.0
4141# ```
4242# ==================================================================================================
43- name : Aspect Workflows Reusable Workflow (v5.12.1)
43+ name : Aspect Workflows Reusable Workflow
4444on :
4545 # Makes this workflow reusable, see
4646 # https://github.blog/2022-02-10-using-reusable-workflows-github-actions
9595 - name : Clone repo
9696 uses : actions/checkout@v4
9797 with :
98- fetch-depth : ${{ ! endsWith(matrix.job, 'lint') && 1 || 2 }}
98+ fetch-depth : ${{ endsWith(matrix.job, 'lint') && 2 || endsWith(matrix.job, 'format') && 2 || 1 }}
9999 - name : Agent health check
100100 # Set RUNNER_TRACKER_ID="" to prevent GitHub Actions from killing the Bazel server started
101101 # during health check when "Cleaning up orphan processes" in the "Complete job" step.
@@ -112,14 +112,14 @@ jobs:
112112 - name : Prepare archive directories
113113 run : rm -rf ${{ join(fromJson(needs.setup.outputs.cfg).workflows_config[matrix.job].artifact_paths, ' ') }}
114114 - name : Checkout health
115- uses : aspect-build/workflows-action@5.12.22
115+ uses : aspect-build/workflows-action@5.14.0
116116 timeout-minutes : ${{ fromJson(needs.setup.outputs.cfg).workflows_config[matrix.job].checkout_task_timeout }}
117117 if : fromJson(needs.setup.outputs.cfg).workflows_config[matrix.job].has_checkout_task
118118 with :
119119 workspace : ${{ fromJson(needs.setup.outputs.cfg).workflows_config[matrix.job].workspace }}
120120 task : checkout
121121 - name : ${{ fromJson(needs.setup.outputs.cfg).workflows_config[matrix.job].name }}
122- uses : aspect-build/workflows-action@5.12.22
122+ uses : aspect-build/workflows-action@5.14.0
123123 env : ${{ inputs.inherited_secrets != '' && fromJson(steps.process_secrets.outputs.filtered_secrets) || fromJson('{}') }}
124124 timeout-minutes : ${{ fromJson(needs.setup.outputs.cfg).workflows_config[matrix.job].timeout_in_minutes }}
125125 with :
@@ -139,7 +139,7 @@ jobs:
139139 SLACK_WEBHOOK_URL : ${{ secrets[inputs.slack_webhook_url] }}
140140 - name : Delivery manifest
141141 if : fromJson(needs.setup.outputs.cfg).workflows_config[matrix.job].generate_manifest
142- uses : aspect-build/workflows-action@5.12.22
142+ uses : aspect-build/workflows-action@5.14.0
143143 timeout-minutes : ${{ fromJson(needs.setup.outputs.cfg).workflows_config[matrix.job].delivery_manifest_timeout }}
144144 with :
145145 workspace : ${{ fromJson(needs.setup.outputs.cfg).workflows_config[matrix.job].workspace }}
@@ -180,4 +180,4 @@ jobs:
180180 https://api.github.com/repos/${{ github.repository }}/actions/workflows/${{ inputs.delivery-workflow }}/dispatches \
181181 -d "{\"ref\":\"${{ fromJson(needs.setup.outputs.cfg).workflows_config[matrix.job].branch }}\",\"inputs\":{\"delivery_commit\":\"${GITHUB_SHA}\",\"workspace\":\"${{ fromJson(needs.setup.outputs.cfg).workflows_config[matrix.job].workspace }}\"}}"
182182 shell : bash
183- if : fromJson(needs.setup.outputs.cfg).workflows_config[matrix.job].delivery
183+ if : fromJson(needs.setup.outputs.cfg).workflows_config[matrix.job].delivery
0 commit comments