Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
name: CI

concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.ref }}
cancel-in-progress: ${{ github.event_name == 'pull_request' }}

on:
pull_request:
branches: [main]
Expand Down
12 changes: 12 additions & 0 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,17 @@
name: Deploy

# Release variant — never cancel a deploy mid-flight. A cancelled deploy
# can leave the Netcup site in a half-deleted state (the script does
# `find . -delete && tar -xzf`). Group by ref so two parallel pushes to
# the same branch serialize cleanly without race-deleting each other.
#
# Security note: this concurrency block uses only server-controlled
# context vars (github.ref, github.workflow) — no PR-author-controlled
# input flows into the group key.
concurrency:
group: release-${{ github.ref }}
cancel-in-progress: false

on:
push:
branches: [main]
Expand Down
Loading