Skip to content

Commit

Permalink
set ci and release workflow to be dispatchable and cancelable
Browse files Browse the repository at this point in the history
  • Loading branch information
jcayzac committed Aug 23, 2024
1 parent 7b5fee4 commit c34b5cc
Show file tree
Hide file tree
Showing 2 changed files with 10 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,7 @@
name: CI

on:
workflow_dispatch:
push:
branches:
- '*'
Expand All @@ -16,6 +17,10 @@ defaults:
env:
FORCE_COLOR: true

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

jobs:
lint:
permissions:
Expand Down
5 changes: 5 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,16 @@ env:
FORCE_COLOR: true

on:
workflow_dispatch:
push:
branches:
- main
- next

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

jobs:
release:
name: Release
Expand Down

0 comments on commit c34b5cc

Please sign in to comment.