From 9a7750740561a67d06686b73b59055eb73d14eb2 Mon Sep 17 00:00:00 2001 From: Vlada Dusek Date: Wed, 30 Jul 2025 10:07:08 +0200 Subject: [PATCH] ci: Update triggers --- .github/workflows/pre_release.yaml | 4 ++++ .github/workflows/release.yaml | 4 ++++ .github/workflows/run_code_checks.yaml | 7 +------ 3 files changed, 9 insertions(+), 6 deletions(-) diff --git a/.github/workflows/pre_release.yaml b/.github/workflows/pre_release.yaml index 56db3f07..4b680bbf 100644 --- a/.github/workflows/pre_release.yaml +++ b/.github/workflows/pre_release.yaml @@ -11,6 +11,10 @@ on: # Or it can be triggered manually. workflow_dispatch: +concurrency: + group: release + cancel-in-progress: false + jobs: release_metadata: if: "!startsWith(github.event.head_commit.message, 'docs') && !startsWith(github.event.head_commit.message, 'ci') && startsWith(github.repository, 'apify/')" diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index bc24528b..d25ef8db 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -21,6 +21,10 @@ on: type: string default: "" +concurrency: + group: release + cancel-in-progress: false + jobs: release_metadata: name: Prepare release metadata diff --git a/.github/workflows/run_code_checks.yaml b/.github/workflows/run_code_checks.yaml index 7a46c451..2fe95637 100644 --- a/.github/workflows/run_code_checks.yaml +++ b/.github/workflows/run_code_checks.yaml @@ -6,12 +6,7 @@ on: # step required for PRs from forks. This prevents their potential exposure. pull_request: - # Pushing to the master branch triggers code checks - push: - branches: - - master - tags-ignore: - - "**" # Ignore all tags to prevent duplicate checks when tags are pushed. + # Trigger for pushing to the master branch is handled by the pre-release workflow. # It should also be possible to trigger checks manually workflow_dispatch: