From 212577a11cf00a8c977db96cf9e74454bd50963a Mon Sep 17 00:00:00 2001 From: Tobias Roeser Date: Fri, 28 Apr 2023 00:10:24 +0200 Subject: [PATCH] CI setup --- .github/workflows/build.yml | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index df95ade..f4a5f82 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -1,4 +1,16 @@ -on: [push, pull_request] +on: + push: + branches: + - main + tags: + - '**' + pull_request: + +# cancel older runs of a pull request; +# this will not cancel anything for normal git pushes +concurrency: + group: cancel-old-pr-runs-${{ github.workflow }}-${{ github.head_ref || github.run_id }} + cancel-in-progress: true jobs: build: