Skip to content

Commit 3a246d6

Browse files
authored
ci: Update triggers (#449)
1 parent 2697c80 commit 3a246d6

File tree

3 files changed

+9
-6
lines changed

3 files changed

+9
-6
lines changed

.github/workflows/pre_release.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,10 @@ on:
1111
# Or it can be triggered manually.
1212
workflow_dispatch:
1313

14+
concurrency:
15+
group: release
16+
cancel-in-progress: false
17+
1418
jobs:
1519
release_metadata:
1620
if: "!startsWith(github.event.head_commit.message, 'docs') && !startsWith(github.event.head_commit.message, 'ci') && startsWith(github.repository, 'apify/')"

.github/workflows/release.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,10 @@ on:
2121
type: string
2222
default: ""
2323

24+
concurrency:
25+
group: release
26+
cancel-in-progress: false
27+
2428
jobs:
2529
release_metadata:
2630
name: Prepare release metadata

.github/workflows/run_code_checks.yaml

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,7 @@ on:
66
# step required for PRs from forks. This prevents their potential exposure.
77
pull_request:
88

9-
# Pushing to the master branch triggers code checks
10-
push:
11-
branches:
12-
- master
13-
tags-ignore:
14-
- "**" # Ignore all tags to prevent duplicate checks when tags are pushed.
9+
# Trigger for pushing to the master branch is handled by the pre-release workflow.
1510

1611
# It should also be possible to trigger checks manually
1712
workflow_dispatch:

0 commit comments

Comments
 (0)