Skip to content

Commit

Permalink
CI: Only run on pushes to main
Browse files Browse the repository at this point in the history
Otherwise there's 2 runs for every push a maintainer makes into a
branch, when also opening a PR for it.
  • Loading branch information
badboy committed Mar 29, 2023
1 parent c5a7594 commit 110fd90
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,13 @@
name: CI Build Status

on: [push, pull_request]
on:
pull_request:
push:
branches: main

env:
RUST_BACKTRACE: 1
CARGO_INCREMENTAL: 0

defaults:
run:
Expand Down

0 comments on commit 110fd90

Please sign in to comment.