summaryrefslogtreecommitdiffstats
path: root/.forgejo
diff options
context:
space:
mode:
authorEarl Warren <contact@earl-warren.org>2024-08-23 11:42:10 +0200
committerEarl Warren <contact@earl-warren.org>2024-08-23 11:42:10 +0200
commit7b9d88ce2d827acd78b8c95c7f6c4859d9eeb6b9 (patch)
treee2e59680e3330de929078df74beefd347399c516 /.forgejo
parentchore(renovate): add rule (diff)
downloadforgejo-act-7b9d88ce2d827acd78b8c95c7f6c4859d9eeb6b9.tar.xz
forgejo-act-7b9d88ce2d827acd78b8c95c7f6c4859d9eeb6b9.zip
chore: only run tests on main
otherwise it runs twice for renovate PRs
Diffstat (limited to '.forgejo')
-rw-r--r--.forgejo/workflows/test.yml6
1 files changed, 4 insertions, 2 deletions
diff --git a/.forgejo/workflows/test.yml b/.forgejo/workflows/test.yml
index df6af26..767f63c 100644
--- a/.forgejo/workflows/test.yml
+++ b/.forgejo/workflows/test.yml
@@ -1,7 +1,9 @@
name: checks
on:
- - push
- - pull_request
+ push:
+ branches:
+ - 'main'
+ pull_request:
env:
GOPROXY: https://goproxy.io,direct