diff --git a/.github/workflows/.aspect-workflows-reusable.yaml b/.github/workflows/.aspect-workflows-reusable.yaml index 5d996a0a..6641accc 100644 --- a/.github/workflows/.aspect-workflows-reusable.yaml +++ b/.github/workflows/.aspect-workflows-reusable.yaml @@ -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 @@ -37,10 +37,10 @@ # jobs: # aspect-workflows: # name: Aspect Workflows -# uses: my-github-org/workflows-action/.github/workflows/.aspect-workflows-reusable.yaml@5.11.0 +# uses: my-github-org/workflows-action/.github/workflows/.aspect-workflows-reusable.yaml@5.11.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 @@ -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 @@ -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/workflows-action@5.11.0 + uses: aspect-build/workflows-action@5.11.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/workflows-action@5.11.0 + uses: aspect-build/workflows-action@5.11.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: @@ -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/workflows-action@5.11.0 + uses: aspect-build/workflows-action@5.11.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 }} diff --git a/.github/workflows/aspect-workflows-delivery.yaml b/.github/workflows/aspect-workflows-delivery.yaml index 28c31c0c..f9eb1373 100644 --- a/.github/workflows/aspect-workflows-delivery.yaml +++ b/.github/workflows/aspect-workflows-delivery.yaml @@ -36,9 +36,12 @@ jobs: # See https://github.com/actions/checkout#Fetch-all-history-for-all-tags-and-branches fetch-depth: 0 - name: Agent health check - run: ${ASPECT_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_TRACKER_ID="" && ${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 }} diff --git a/.github/workflows/aspect-workflows-warming.yaml b/.github/workflows/aspect-workflows-warming.yaml index fe7e45af..e408ebda 100644 --- a/.github/workflows/aspect-workflows-warming.yaml +++ b/.github/workflows/aspect-workflows-warming.yaml @@ -20,9 +20,12 @@ jobs: run: ${ASPECT_WORKFLOWS_BIN_DIR}/configure_workflows_env - uses: actions/checkout@v4 - name: Agent health check - run: ${ASPECT_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_TRACKER_ID="" && ${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 diff --git a/.github/workflows/deps.bzl b/.github/workflows/deps.bzl index 1a205855..6f461d4a 100644 --- a/.github/workflows/deps.bzl +++ b/.github/workflows/deps.bzl @@ -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"