From f160bcde052d8794acf67ffb8e7c042e3c721b37 Mon Sep 17 00:00:00 2001 From: Bret Comnes Date: Tue, 8 Feb 2022 11:37:59 -0800 Subject: [PATCH] Document the use of concurrency --- .github/workflows/neocities.yml | 4 ++++ .github/workflows/release.yml | 4 ++++ README.md | 4 ++++ 3 files changed, 12 insertions(+) diff --git a/.github/workflows/neocities.yml b/.github/workflows/neocities.yml index dcb6d7c..1455ada 100644 --- a/.github/workflows/neocities.yml +++ b/.github/workflows/neocities.yml @@ -10,6 +10,10 @@ env: FORCE_COLOR: 2 node_version: lts/* +concurrency: # prevent concurrent deploys doing starnge things + group: deploy-to-neocities + cancel-in-progress: true + jobs: deploy: runs-on: ubuntu-latest diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 9632920..3092965 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -11,6 +11,10 @@ env: node_version: lts/* FORCE_COLOR: 2 +concurrency: # prevent concurrent releases + group: npm-bump + cancel-in-progress: true + jobs: version_and_release: runs-on: ubuntu-latest diff --git a/README.md b/README.md index 8e58f7f..435b81a 100644 --- a/README.md +++ b/README.md @@ -20,6 +20,10 @@ on: branches: - master +concurrency: # prevent concurrent deploys doing starnge things + group: deploy-to-neocities + cancel-in-progress: true + jobs: deploy: runs-on: ubuntu-latest