Skip to content

Commit

Permalink
Add concurrency cancellation to workflows.
Browse files Browse the repository at this point in the history
  • Loading branch information
Luke Davis authored and Luke Davis committed Aug 4, 2023
1 parent d4be831 commit 2a4cacd
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/build_addon.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
name: build addon

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

on:
push:
tags: ["*"]
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/check-for-extended-ascii-and-utf-bom.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
name: Check that we dont have extended ascii or utf boms in our files

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

on:
push:
branches:
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/lint.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
name: Lint

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

on: [push, pull_request]
# push:
# branches:
Expand Down

0 comments on commit 2a4cacd

Please sign in to comment.