aboutsummaryrefslogtreecommitdiffhomepage
path: root/.github
diff options
context:
space:
mode:
authorBjørn Erik Pedersen <[email protected]>2022-10-25 16:08:41 +0200
committerBjørn Erik Pedersen <[email protected]>2022-10-25 16:08:41 +0200
commitd1cd1db0e7384bcfd17fd11257129f0ba69ecbd7 (patch)
tree46166a8cc2c8e1efdf3ff15d4c20eaa506f3a384 /.github
parent09e10110a35cd9f0df6227a66186fd1df0c93414 (diff)
downloadhugo-d1cd1db0e7384bcfd17fd11257129f0ba69ecbd7.tar.gz
hugo-d1cd1db0e7384bcfd17fd11257129f0ba69ecbd7.zip
github: Avoid duplicate test runs
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/test.yml5
1 files changed, 4 insertions, 1 deletions
diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml
index d5a28cfc2..b542db18f 100644
--- a/.github/workflows/test.yml
+++ b/.github/workflows/test.yml
@@ -1,4 +1,7 @@
-on: [push, pull_request]
+on:
+ push:
+ branches: [ master ]
+ pull_request:
name: Test
permissions:
contents: read