Skip to content

Commit

Permalink
GitHub-Actions - Add cancel-in-progress to Static Analysis
Browse files Browse the repository at this point in the history
  • Loading branch information
Or-Geva committed Sep 5, 2022
1 parent f97fde7 commit 9bc093b
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/analysis.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
name: "Static Analysis"
on: [push, pull_request]
concurrency:
group: ${{ github.event.pull_request.number || github.sha }}-static-check
cancel-in-progress: true
jobs:
Go-Lint:
if: contains(github.event.pull_request.labels.*.name, 'safe to test') || github.event_name == 'push'
Expand Down

0 comments on commit 9bc093b

Please sign in to comment.