From 0d7b93cab752e6300e72bfcaa65eee7fe5b54dd5 Mon Sep 17 00:00:00 2001 From: rootiest Date: Tue, 28 Apr 2026 22:39:59 -0400 Subject: [PATCH] ci: skip releases for testing or documentation PRs Add a condition to the release workflow to skip execution if the PR is labeled with 'Kind/Testing' or 'Kind/Documentation'. This prevents unnecessary releases for non-functional changes. --- .gitea/workflows/release.yaml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.gitea/workflows/release.yaml b/.gitea/workflows/release.yaml index 84d9969..520c77c 100644 --- a/.gitea/workflows/release.yaml +++ b/.gitea/workflows/release.yaml @@ -8,7 +8,10 @@ on: jobs: release: - if: github.event.pull_request.merged == true + if: | + github.event.pull_request.merged == true && + !contains(github.event.pull_request.labels.*.name, 'Kind/Testing') && + !contains(github.event.pull_request.labels.*.name, 'Kind/Documentation') runs-on: ubuntu-latest steps: - name: Checkout code