From 46ae0a9ebba8e8efb8cef1463acd2cfd75692b7a Mon Sep 17 00:00:00 2001 From: Heinz-Alexander Fuetterer Date: Fri, 18 Aug 2023 14:21:33 +0200 Subject: [PATCH] ci: update ci run conditions --- .github/workflows/ci.yml | 18 ++++++++++++++++-- 1 file changed, 16 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 2b3df589..504b1850 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -1,6 +1,20 @@ -name: fuji-server-main +name: CI -on: [push, pull_request] +on: + push: + branches: [master] + pull_request: + +concurrency: + group: ci-${{ github.head_ref }} + cancel-in-progress: true + +env: + PYTHONUNBUFFERED: 1 + FORCE_COLOR: 1 # colored output by pytest etc. + +permissions: + contents: read jobs: