summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDarius Jahandarie <djahandarie@gmail.com>2023-11-10 23:12:18 +0900
committerDarius Jahandarie <djahandarie@gmail.com>2023-11-10 23:25:30 +0900
commit56a82ef989079d138ca96b3377b1c58e5b3c4603 (patch)
treeb27f0818c7bbbede94d9c67b208be942e62b8f0f
parent6b51d59fce9c56f3b1e069f620c5064f8cb51406 (diff)
Prevent ci.yml from running twice on PR commits
-rw-r--r--.github/workflows/ci.yml6
1 files changed, 5 insertions, 1 deletions
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index 358ac1de..9106556e 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -3,7 +3,11 @@ name: CI
permissions:
contents: read
-on: [push, pull_request]
+on:
+ push:
+ branches: [master]
+ pull_request:
+ merge_group:
jobs:
test: