summaryrefslogtreecommitdiff
path: root/.github/workflows/main.yml
diff options
context:
space:
mode:
authorGravatar Vincent Rischmann2022-08-06 01:41:01 +0200
committerGravatar Vincent Rischmann2022-08-06 01:46:36 +0200
commitfb66bf89b9ce365b5efe290be510501d45130e17 (patch)
treeda0940a763432df26b9c19d6c7e9ee11538f5b26 /.github/workflows/main.yml
parentci: cache the zig cache files (diff)
downloadzig-sqlite-fb66bf89b9ce365b5efe290be510501d45130e17.tar.gz
zig-sqlite-fb66bf89b9ce365b5efe290be510501d45130e17.tar.xz
zig-sqlite-fb66bf89b9ce365b5efe290be510501d45130e17.zip
ci: only run the workflow on a push to master
With both `push` and `pull_request` a push to an open PR triggers two redundant builds which we should avoid. This should have minimal impact since I typically open a PR when working on a feature.
Diffstat (limited to '.github/workflows/main.yml')
-rw-r--r--.github/workflows/main.yml1
1 files changed, 1 insertions, 0 deletions
diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml
index 601b14a..3f4d3c2 100644
--- a/.github/workflows/main.yml
+++ b/.github/workflows/main.yml
@@ -3,6 +3,7 @@ name: CI
3on: 3on:
4 create: 4 create:
5 push: 5 push:
6 branches: master
6 pull_request: 7 pull_request:
7 schedule: 8 schedule:
8 - cron: "0 13 * * *" 9 - cron: "0 13 * * *"