summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorearl-warren <earl-warren@noreply.code.forgejo.org>2024-08-26 10:10:01 +0200
committerearl-warren <earl-warren@noreply.code.forgejo.org>2024-08-26 10:10:01 +0200
commit73e39f1d49d2c736969081aa200848cb252c1fec (patch)
tree7c3e8f6468a6bc8fcd8f7eb8627d71b10e46accc
parentMerge pull request 'Update module github.com/rhysd/actionlint to v1.6.27' (#5... (diff)
parentchore: only run tests on main (diff)
downloadforgejo-act-73e39f1d49d2c736969081aa200848cb252c1fec.tar.xz
forgejo-act-73e39f1d49d2c736969081aa200848cb252c1fec.zip
Merge pull request 'chore: only run tests on main' (#52) from earl-warren/act:wip-ci-on-main into main
Reviewed-on: https://code.forgejo.org/forgejo/act/pulls/52 Reviewed-by: Michael Kriese <michael.kriese@gmx.de>
-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