From 4eaa0ae20daa00b822cc6a75b0e85c512b75fb99 Mon Sep 17 00:00:00 2001 From: Vasilios Pantazopoulos Date: Fri, 25 Oct 2024 15:31:55 -0400 Subject: [PATCH] gh-actions: update imported workflow version to 7 Also fixes a minor spacing formatting issue in `.github/workflows/ci.yaml` --- .github/workflows/ci.yaml | 10 +++++----- .github/workflows/release.yml | 2 +- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 40b6b62..7bf0244 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -11,14 +11,14 @@ on: workflow_dispatch: concurrency: - # Cancel previous actions from the same PR or branch except 'main' branch. - # See https://docs.github.com/en/actions/using-jobs/using-concurrency and https://docs.github.com/en/actions/learn-github-actions/contexts for more info. - group: concurrency-group::${{ github.workflow }}::${{ github.event.pull_request.number > 0 && format('pr-{0}', github.event.pull_request.number) || github.ref_name }}${{ github.ref_name == 'main' && format('::{0}', github.run_id) || ''}} - cancel-in-progress: ${{ github.ref_name != 'main' }} + # Cancel previous actions from the same PR or branch except 'main' branch. + # See https://docs.github.com/en/actions/using-jobs/using-concurrency and https://docs.github.com/en/actions/learn-github-actions/contexts for more info. + group: concurrency-group::${{ github.workflow }}::${{ github.event.pull_request.number > 0 && format('pr-{0}', github.event.pull_request.number) || github.ref_name }}${{ github.ref_name == 'main' && format('::{0}', github.run_id) || ''}} + cancel-in-progress: ${{ github.ref_name != 'main' }} jobs: test: - uses: bazel-contrib/.github/.github/workflows/bazel.yaml@v6 + uses: bazel-contrib/.github/.github/workflows/bazel.yaml@v7 with: folders: | [ diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 32f924d..8a770ae 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -13,6 +13,6 @@ permissions: jobs: release: - uses: bazel-contrib/.github/.github/workflows/release_ruleset.yaml@v6 + uses: bazel-contrib/.github/.github/workflows/release_ruleset.yaml@v7 with: release_files: rules_mylang-*.tar.gz