Skip to content

Commit

Permalink
ci: cancel in progress and allow workflow dispatch
Browse files Browse the repository at this point in the history
  • Loading branch information
flavorjones committed Jun 28, 2023
1 parent 55fd781 commit d59d088
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,16 @@

name: build

on: [pull_request, push]
concurrency:
group: "${{github.workflow}}-${{github.ref}}"
cancel-in-progress: true

on:
workflow_dispatch:
push:
branches:
- main
pull_request:

jobs:
test:
Expand Down

0 comments on commit d59d088

Please sign in to comment.