diff --git a/.github/workflows/build-gamescope.yml b/.github/workflows/build-gamescope.yml index 0a91fea431..afba4a9480 100644 --- a/.github/workflows/build-gamescope.yml +++ b/.github/workflows/build-gamescope.yml @@ -2,8 +2,11 @@ name: Build gamescope (patched) on: push: + branches: [main] paths: - - 'tools/gamescope/**' + - 'tools/gamescope/build-in-arch.sh' + - 'tools/gamescope/patches/**' + - 'tools/gamescope/runtime-sonames.txt' - '.github/workflows/build-gamescope.yml' workflow_dispatch: inputs: @@ -15,6 +18,10 @@ on: permissions: contents: write +concurrency: + group: gamescope-${{ github.event_name }}-${{ github.ref }}-${{ inputs.tag || 'artifact' }} + cancel-in-progress: ${{ github.event_name == 'push' }} + jobs: build: runs-on: ubuntu-24.04-arm