Skip to content
This repository has been archived by the owner on Nov 24, 2023. It is now read-only.

Commit

Permalink
Merge pull request #153 from technote-space/chore/chore-sync-workflows
Browse files Browse the repository at this point in the history
chore: sync workflows
  • Loading branch information
technote-space authored May 7, 2021
2 parents 50bac75 + 47f5490 commit ad7516e
Show file tree
Hide file tree
Showing 7 changed files with 21 additions and 10 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/add-release-tag.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@ on:
- develop/v*
types: [closed]

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}

name: Add release tag

jobs:
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/add-test-tag.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@ on:
pull_request:
types: [synchronize]

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}

name: Add test tag

jobs:
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/broken-link-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,15 @@ on:
types: [check-link]
workflow_dispatch:

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}

name: Broken Link Check
jobs:
check:
name: Broken Link Check
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
6 changes: 3 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
on: push

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}

name: CI

jobs:
Expand All @@ -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
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/pr-updated.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
on: pull_request_target

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}

name: Pull Request updated

jobs:
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/toc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@ on:
pull_request:
types: [opened, synchronize, reopened, closed]

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}

name: TOC Generator

jobs:
Expand Down
7 changes: 3 additions & 4 deletions .github/workflows/update-dependencies.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@ on:
types: [update-deps]
workflow_dispatch:

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}

name: Update dependencies
jobs:
update:
Expand All @@ -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
Expand Down

0 comments on commit ad7516e

Please sign in to comment.