Skip to content

Commit

Permalink
ci: only run on default branch (#3176)
Browse files Browse the repository at this point in the history
Because I mostly use PRs from branches on this repo, running it on all
pushes duplicates work, costing a lot of resource.
  • Loading branch information
goto-bus-stop authored Dec 17, 2024
1 parent bbd4a79 commit 8bda48b
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,6 +1,10 @@
name: CI

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

permissions:
contents: read
Expand Down

0 comments on commit 8bda48b

Please sign in to comment.