diff options
author | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2021-11-18 22:21:05 +0900 |
---|---|---|
committer | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2021-11-18 22:54:57 +0900 |
commit | e2b78440ba3cebe5106efa699505677b4444486b (patch) | |
tree | e6283e51bdc6a41f83167a134da22c26fc1e1c03 /.github/workflows/compilers.yml | |
parent | 89b440bf724b5e670da0fa31c36a7945a7ddc80f (diff) |
Throttle GitHub Actions [ci skip]
As GitHub Actions are choking a lot lately, throttle the checks
down to the latest commit only per branches.
Diffstat (limited to '.github/workflows/compilers.yml')
-rw-r--r-- | .github/workflows/compilers.yml | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/.github/workflows/compilers.yml b/.github/workflows/compilers.yml index 33f31ba20a..6f6072ad77 100644 --- a/.github/workflows/compilers.yml +++ b/.github/workflows/compilers.yml @@ -12,6 +12,10 @@ on: - '**.md' - '**.rdoc' +concurrency: + group: ${{ github.workflow }} / ${{ github.ref_name }} + cancel-in-progress: true + # Github actions does not support YAML anchors. This creative use of # environment variables (plus the "echo $GITHUB_ENV" hack) is to reroute that # restriction. |