summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.forgejo/workflows/example-docker-compose.yml4
-rw-r--r--.forgejo/workflows/test.yml8
2 files changed, 8 insertions, 4 deletions
diff --git a/.forgejo/workflows/example-docker-compose.yml b/.forgejo/workflows/example-docker-compose.yml
index 1b9c2e0..ee71ca6 100644
--- a/.forgejo/workflows/example-docker-compose.yml
+++ b/.forgejo/workflows/example-docker-compose.yml
@@ -1,7 +1,9 @@
# SPDX-License-Identifier: MIT
on:
- pull_request_target:
push:
+ branches:
+ - 'main'
+ pull_request_target:
jobs:
example-docker-compose:
diff --git a/.forgejo/workflows/test.yml b/.forgejo/workflows/test.yml
index ec95a5a..8f0abe2 100644
--- a/.forgejo/workflows/test.yml
+++ b/.forgejo/workflows/test.yml
@@ -1,7 +1,9 @@
name: checks
-on:
- - pull_request
- - push
+on:
+ push:
+ branches:
+ - 'main'
+ pull_request:
env:
FORGEJO_HOST_PORT: 'forgejo:3000'