Skip to content

Commit

Permalink
Merge pull request nautobot#164 from networktocode/improve-ci-concurr…
Browse files Browse the repository at this point in the history
…ency

Improve CI concurrency
  • Loading branch information
chadell authored Sep 8, 2022
2 parents 145a483 + 000cabb commit d590a38
Showing 1 changed file with 11 additions and 3 deletions.
14 changes: 11 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,16 @@
---
name: "CI"
on: # yamllint disable-line rule:truthy
- "push"
- "pull_request"
concurrency: # Cancel any existing runs of this workflow for this same PR
group: "${{ github.workflow }}-${{ github.ref }}"
cancel-in-progress: true
on: # yamllint disable
push:
branches:
- "main"
- "develop"
tags:
- "v*"
pull_request: ~
jobs:
black:
runs-on: "ubuntu-20.04"
Expand Down

0 comments on commit d590a38

Please sign in to comment.