From 230c851c14d445fddbba1f2bbb3c205e7346fab9 Mon Sep 17 00:00:00 2001 From: technote-space Date: Thu, 6 May 2021 10:01:31 +0000 Subject: [PATCH] chore: sync workflows --- .github/workflows/add-release-tag.yml | 3 +++ .github/workflows/broken-link-check.yml | 6 +++--- .github/workflows/pr-updated.yml | 3 +++ .github/workflows/toc.yml | 3 +++ .github/workflows/update-dependencies.yml | 7 +++---- 5 files changed, 15 insertions(+), 7 deletions(-) diff --git a/.github/workflows/add-release-tag.yml b/.github/workflows/add-release-tag.yml index 5e5cab1..3c119d5 100644 --- a/.github/workflows/add-release-tag.yml +++ b/.github/workflows/add-release-tag.yml @@ -6,6 +6,9 @@ on: - develop/v* types: [closed] +concurrency: + group: ${{ github.workflow }}-${{ github.ref }} + name: Add release tag jobs: diff --git a/.github/workflows/broken-link-check.yml b/.github/workflows/broken-link-check.yml index 4a60fb5..92d296f 100644 --- a/.github/workflows/broken-link-check.yml +++ b/.github/workflows/broken-link-check.yml @@ -5,6 +5,9 @@ on: types: [check-link] workflow_dispatch: +concurrency: + group: ${{ github.workflow }}-${{ github.ref }} + name: Broken Link Check jobs: check: @@ -12,8 +15,5 @@ jobs: runs-on: ubuntu-latest timeout-minutes: 10 steps: - - uses: technote-space/auto-cancel-redundant-workflow@v1 - with: - EXCLUDE_MERGED: 'true' - name: Broken Link Check uses: technote-space/broken-link-checker-action@v2 diff --git a/.github/workflows/pr-updated.yml b/.github/workflows/pr-updated.yml index b8885b5..b0ef7c6 100644 --- a/.github/workflows/pr-updated.yml +++ b/.github/workflows/pr-updated.yml @@ -1,5 +1,8 @@ on: pull_request_target +concurrency: + group: ${{ github.workflow }}-${{ github.ref }} + name: Pull Request updated jobs: diff --git a/.github/workflows/toc.yml b/.github/workflows/toc.yml index 6ee213a..6b85b1c 100644 --- a/.github/workflows/toc.yml +++ b/.github/workflows/toc.yml @@ -2,6 +2,9 @@ on: pull_request: types: [opened, synchronize, reopened, closed] +concurrency: + group: ${{ github.workflow }}-${{ github.ref }} + name: TOC Generator jobs: diff --git a/.github/workflows/update-dependencies.yml b/.github/workflows/update-dependencies.yml index 86d943a..e2417aa 100644 --- a/.github/workflows/update-dependencies.yml +++ b/.github/workflows/update-dependencies.yml @@ -7,6 +7,9 @@ on: types: [update-deps] workflow_dispatch: +concurrency: + group: ${{ github.workflow }}-${{ github.ref }} + name: Update dependencies jobs: update: @@ -24,10 +27,6 @@ jobs: with: CONFIG_FILENAME: workflow-settings.json, workflow-details.json IGNORE_WARNING: 'true' - - uses: technote-space/auto-cancel-redundant-workflow@v1 - if: env.RUNNING1 - with: - EXCLUDE_MERGED: 'true' - name: Update dependencies if: env.RUNNING1 id: update_deps