From a580cb63b6ce411c3394aff77c7073d4d3e9428c Mon Sep 17 00:00:00 2001 From: Earl Warren Date: Sun, 15 Oct 2023 17:59:57 +0200 Subject: [PATCH] only run CI on main or v* branches + pull_request_target --- .forgejo/workflows/integration-nested.yml | 8 +++++++- .forgejo/workflows/integration.yml | 7 ++++++- 2 files changed, 13 insertions(+), 2 deletions(-) diff --git a/.forgejo/workflows/integration-nested.yml b/.forgejo/workflows/integration-nested.yml index ca37fe0..7046efe 100644 --- a/.forgejo/workflows/integration-nested.yml +++ b/.forgejo/workflows/integration-nested.yml @@ -1,4 +1,10 @@ -on: [ push, pull_request ] +on: + push: + branches: + - 'main' + - 'v*' + pull_request_target: + jobs: integration-nested: runs-on: self-hosted diff --git a/.forgejo/workflows/integration.yml b/.forgejo/workflows/integration.yml index 360abe6..6695065 100644 --- a/.forgejo/workflows/integration.yml +++ b/.forgejo/workflows/integration.yml @@ -1,4 +1,9 @@ -on: [ push, pull_request ] +on: + push: + branches: + - 'main' + - 'v*' + pull_request_target: jobs: integration: