Skip to content

Commit

Permalink
chore: bump to Workflows 5.11.17 GitHub Actions
Browse files Browse the repository at this point in the history
  • Loading branch information
gregmagolan committed Nov 10, 2024
1 parent 1547510 commit c0e1642
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 12 deletions.
19 changes: 11 additions & 8 deletions .github/workflows/.aspect-workflows-reusable.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# ==================================================================================================
# Aspect Workflows Reusable Workflow for GitHub Actions (v5.11.0)
# Aspect Workflows Reusable Workflow for GitHub Actions (v5.11.17)
#
# https://github.com/marketplace/actions/aspect-workflows?version=5.11.0
# https://github.com/marketplace/actions/aspect-workflows?version=5.11.17
#
# At this time, GitHub Actions does not allow referencing reusable workflows from public
# repositories in other organizations. See
Expand Down Expand Up @@ -37,10 +37,10 @@
# jobs:
# aspect-workflows:
# name: Aspect Workflows
# uses: my-github-org/workflows-action/.github/workflows/[email protected].0
# uses: my-github-org/workflows-action/.github/workflows/[email protected].17
# ```
# ==================================================================================================
name: Aspect Workflows Reusable Workflow (v5.11.0)
name: Aspect Workflows Reusable Workflow (v5.11.17)
on:
# Makes this workflow reusable, see
# https://github.blog/2022-02-10-using-reusable-workflows-github-actions
Expand Down Expand Up @@ -94,7 +94,10 @@ jobs:
- name: Clone repo
uses: actions/checkout@v4
- name: Agent health check
run: ${{ fromJson(needs.setup.outputs.cfg).platform.directories.WORKFLOWS_BIN_DIR }}/agent_health_check
# Set RUNNER_TRACKER_ID="" to prevent GitHub Actions from killing the Bazel server started
# during health check when "Cleaning up orphan processes" in the "Complete job" step.
# See https://github.com/actions/runner/issues/598.
run: RUNNER_TRACKING_ID="" && ${{ fromJson(needs.setup.outputs.cfg).platform.directories.WORKFLOWS_BIN_DIR }}/agent_health_check
timeout-minutes: ${{ fromJson(needs.setup.outputs.cfg).workflows_config[matrix.job].health_check_timeout }}
- name: Process secrets
id: process_secrets
Expand All @@ -113,14 +116,14 @@ jobs:
write_output_files: true
output_dir: ${{ fromJson(needs.setup.outputs.cfg).platform.directories.ARTIFACTS_DIR }}
- name: Checkout health
uses: aspect-build/[email protected].0
uses: aspect-build/[email protected].17
timeout-minutes: ${{ fromJson(needs.setup.outputs.cfg).workflows_config[matrix.job].checkout_task_timeout }}
if: fromJson(needs.setup.outputs.cfg).workflows_config[matrix.job].has_checkout_task
with:
workspace: ${{ fromJson(needs.setup.outputs.cfg).workflows_config[matrix.job].workspace }}
task: checkout
- name: ${{ fromJson(needs.setup.outputs.cfg).workflows_config[matrix.job].name }}
uses: aspect-build/[email protected].0
uses: aspect-build/[email protected].17
env: ${{ inputs.inherited_secrets != '' && fromJson(steps.process_secrets.outputs.filtered_secrets) || fromJson('{}') }}
timeout-minutes: ${{ fromJson(needs.setup.outputs.cfg).workflows_config[matrix.job].timeout_in_minutes }}
with:
Expand All @@ -140,7 +143,7 @@ jobs:
SLACK_WEBHOOK_URL: ${{ secrets[inputs.slack_webhook_url] }}
- name: Delivery manifest
if: fromJson(needs.setup.outputs.cfg).workflows_config[matrix.job].generate_manifest
uses: aspect-build/[email protected].0
uses: aspect-build/[email protected].17
timeout-minutes: ${{ fromJson(needs.setup.outputs.cfg).workflows_config[matrix.job].delivery_manifest_timout }}
with:
workspace: ${{ fromJson(needs.setup.outputs.cfg).workflows_config[matrix.job].workspace }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/aspect-workflows-delivery.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ jobs:
- name: Agent health check
run: ${ASPECT_WORKFLOWS_BIN_DIR}/agent_health_check
- name: Run delivery
uses: aspect-build/workflows-action@5.10.12
uses: aspect-build/workflows-action@5.11.17
with:
task: delivery
workspace: ${{ inputs.workspace }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/aspect-workflows-warming.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
- name: Agent health check
run: ${ASPECT_WORKFLOWS_BIN_DIR}/agent_health_check
- name: Create warming archive
uses: aspect-build/workflows-action@5.10.12
uses: aspect-build/workflows-action@5.11.17
with:
task: warming
- name: Archive warming tars
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/deps.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@

load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")

ASPECT_WORKFLOWS_VERSION = "5.11.0"
ASPECT_WORKFLOWS_ACTION_INTEGRITY = "sha256-H2h9O1gcKUEqkmrTYOH6eFKQmxL5pYnaWNT2X5CrIJ8="
ASPECT_WORKFLOWS_VERSION = "5.11.17"
ASPECT_WORKFLOWS_ACTION_INTEGRITY = "sha256-3RvALkcpaiCbfdPGD96P+0AVS6/PfvIXFsADKF/Gy1M="

def aspect_workflows_github_actions_deps():
"Fetch deps needed for Aspect Workflows on GitHub Actions"
Expand Down

0 comments on commit c0e1642

Please sign in to comment.