Skip to content
This repository has been archived by the owner on Aug 6, 2024. It is now read-only.

Commit

Permalink
Automatically cancel previous CI runs of the same git ref
Browse files Browse the repository at this point in the history
  • Loading branch information
svenmuennich committed May 7, 2024
1 parent c2015ec commit 3234d73
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,11 @@ name: CI

on: [push]

# Automatically cancel previous runs for the same ref (i.e. branch)
concurrency:
group: ${{ github.ref }}-${{ github.event_name }}
cancel-in-progress: true

jobs:
lint:
runs-on: ubuntu-latest
Expand Down

0 comments on commit 3234d73

Please sign in to comment.