From 00dda82363ba37ebc8dd7ecc55f97de0299f6a24 Mon Sep 17 00:00:00 2001 From: Earl Warren Date: Tue, 23 May 2023 21:11:31 +0200 Subject: [PATCH] do not run tests when in release process dedicated orgs --- .forgejo/workflows/integration.yml | 1 + .forgejo/workflows/test.yml | 1 + 2 files changed, 2 insertions(+) diff --git a/.forgejo/workflows/integration.yml b/.forgejo/workflows/integration.yml index d855528..55907cb 100644 --- a/.forgejo/workflows/integration.yml +++ b/.forgejo/workflows/integration.yml @@ -10,6 +10,7 @@ on: jobs: release-simulation: runs-on: self-hosted + if: github.repository_owner != 'forgejo-integration' && github.repository_owner != 'forgejo-experimental' && github.repository_owner != 'forgejo-release' steps: - uses: actions/checkout@v3 diff --git a/.forgejo/workflows/test.yml b/.forgejo/workflows/test.yml index 3ce0323..636c4ad 100644 --- a/.forgejo/workflows/test.yml +++ b/.forgejo/workflows/test.yml @@ -9,6 +9,7 @@ env: jobs: lint: name: check and test + if: github.repository_owner != 'forgejo-integration' && github.repository_owner != 'forgejo-experimental' && github.repository_owner != 'forgejo-release' runs-on: ubuntu-latest steps: - uses: actions/setup-go@v3