diff options
author | Earl Warren <contact@earl-warren.org> | 2023-10-15 18:07:57 +0200 |
---|---|---|
committer | Earl Warren <contact@earl-warren.org> | 2023-10-15 18:08:27 +0200 |
commit | b5b83fd62b8e1fe76cc8182021d718b7e76ab518 (patch) | |
tree | cbee2f3efee95de0a00ea828ab170ffb67c243d9 /.forgejo | |
parent | [FORGEJO] update the setup-forgejo instructions to use utils/upgrade-runner.s... (diff) | |
download | forgejo-runner-b5b83fd62b8e1fe76cc8182021d718b7e76ab518.tar.xz forgejo-runner-b5b83fd62b8e1fe76cc8182021d718b7e76ab518.zip |
only run CI on the main branch + pull_request
Diffstat (limited to '.forgejo')
-rw-r--r-- | .forgejo/workflows/example-docker-compose.yml | 4 | ||||
-rw-r--r-- | .forgejo/workflows/test.yml | 8 |
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' |