Skip to content

Commit

Permalink
Run CI workflow weekly and don't allow cancel on main
Browse files Browse the repository at this point in the history
  • Loading branch information
markuswustenberg committed Jan 13, 2025
1 parent fb53eb1 commit 78e1b9b
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,13 @@ on:
pull_request:
branches:
- main
workflow_dispatch:
schedule:
- cron: "7 0 * * 2"

concurrency:
group: ${{ github.workflow }}-${{ github.ref_name }}
cancel-in-progress: true
cancel-in-progress: ${{ github.ref_name != 'main' }}

jobs:
test:
Expand Down

0 comments on commit 78e1b9b

Please sign in to comment.