Skip to content

Commit

Permalink
Improve GitHub Actions CI config
Browse files Browse the repository at this point in the history
  • Loading branch information
Urgau committed Jan 18, 2024
1 parent a383063 commit f7bed34
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,13 @@
name: CI
on:
push:
branches-ignore: [master]
branches:
- auto-cargo
- try
- automation/bors/try
pull_request:
branches: ['*']
branches:
- "**"

defaults:
run:
Expand All @@ -12,6 +16,10 @@ defaults:
permissions:
contents: read

concurrency:
group: "${{ github.workflow }}-${{ (github.ref == 'refs/heads/try' && github.sha) || github.ref }}"
cancel-in-progress: true

jobs:
success:
permissions:
Expand Down

0 comments on commit f7bed34

Please sign in to comment.