From 47f5490ae1e0692179e8bb16c86950c42948445a Mon Sep 17 00:00:00 2001 From: technote-space Date: Thu, 6 May 2021 16:05:00 +0000 Subject: [PATCH] chore: sync workflows --- .github/workflows/add-release-tag.yml | 3 +++ .github/workflows/add-test-tag.yml | 3 +++ .github/workflows/broken-link-check.yml | 6 +++--- .github/workflows/ci.yml | 6 +++--- .github/workflows/pr-updated.yml | 3 +++ .github/workflows/toc.yml | 3 +++ .github/workflows/update-dependencies.yml | 7 +++---- 7 files changed, 21 insertions(+), 10 deletions(-) diff --git a/.github/workflows/add-release-tag.yml b/.github/workflows/add-release-tag.yml index 5e5cab1b..3c119d51 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/add-test-tag.yml b/.github/workflows/add-test-tag.yml index f08ec81d..156fa3d4 100644 --- a/.github/workflows/add-test-tag.yml +++ b/.github/workflows/add-test-tag.yml @@ -2,6 +2,9 @@ on: pull_request: types: [synchronize] +concurrency: + group: ${{ github.workflow }}-${{ github.ref }} + name: Add test tag jobs: diff --git a/.github/workflows/broken-link-check.yml b/.github/workflows/broken-link-check.yml index 51783a03..1b1eb1d0 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/ci.yml b/.github/workflows/ci.yml index fc708e92..e3ee81b4 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -1,5 +1,8 @@ on: push +concurrency: + group: ${{ github.workflow }}-${{ github.ref }} + name: CI jobs: @@ -10,9 +13,6 @@ jobs: env: LINT: 1 steps: - - uses: technote-space/auto-cancel-redundant-workflow@v1 - with: - EXCLUDE_MERGED: 'true' - name: Set running flag run: echo "RUNNING=1" >> $GITHUB_ENV - uses: actions/checkout@v2 diff --git a/.github/workflows/pr-updated.yml b/.github/workflows/pr-updated.yml index b8885b5c..b0ef7c6e 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 6ee213aa..6b85b1cd 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 dd44650e..9ffbd6a3 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: @@ -25,10 +28,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