Skip to content

Commit dcac2eb

Browse files
committed
ci: add label-based trigger, concurrency group, and fork guard
- Switch PR trigger to labeled+synchronize (requires bitrise-poc label) - Replace push-to-main with hourly cron for baseline data - Add concurrency group to deduplicate per-branch runs - Add fork PR guard matching existing ci.yml patterns
1 parent 103c663 commit dcac2eb

1 file changed

Lines changed: 10 additions & 3 deletions

File tree

.github/workflows/temp-bitrise-ios-e2e.yml

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,13 @@ name: "[TEMP] Bitrise iOS E2E POC"
88

99
on:
1010
pull_request:
11-
push:
12-
branches: [main]
11+
types: [labeled, synchronize]
1312
schedule:
14-
- cron: '0 2-6 * * *'
13+
- cron: '0 * * * *'
14+
15+
concurrency:
16+
group: bitrise-ios-e2e-${{ github.head_ref || github.ref }}
17+
cancel-in-progress: true
1518

1619
permissions:
1720
contents: read
@@ -20,6 +23,10 @@ permissions:
2023
jobs:
2124
build-ios-on-bitrise:
2225
name: Build iOS E2E App (Bitrise Runners)
26+
if: >-
27+
(github.event_name != 'pull_request' ||
28+
contains(github.event.pull_request.labels.*.name, 'bitrise-poc')) &&
29+
!github.event.pull_request.head.repo.fork
2330
runs-on:
2431
group: temp-bitrise-runners
2532
timeout-minutes: 60

0 commit comments

Comments
 (0)