Skip to content

Commit

Permalink
Only run CI on merge
Browse files Browse the repository at this point in the history
Signed-off-by: Nick Gerace <nickagerace@gmail.com>
  • Loading branch information
nickgerace committed Jun 12, 2023
1 parent bbb702d commit 7adc671
Showing 1 changed file with 2 additions and 11 deletions.
13 changes: 2 additions & 11 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,20 +3,11 @@ on:
push:
branches:
- "main"
pull_request:
branches:
- "main"
paths:
- "**.rs"
- "Cargo.*"
- "*.toml"
- ".github/workflows/ci.yml"
concurrency:
group: "${{ github.workflow }}-${{ github.ref }}"
cancel-in-progress: true
jobs:
ci:
name: "CI"
name: "Post Merge Checks"
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
Expand All @@ -30,4 +21,4 @@ jobs:
- uses: actions-rs/cargo@v1
with:
command: xtask
args: ci
args: ci

0 comments on commit 7adc671

Please sign in to comment.