Skip to content

Commit 125a3dd

Browse files
authored
Merge pull request #119 from iblai/ci/oss-prep-cleanup
ci: remove stale workflows and skip CI for external PRs
2 parents cc4ab6d + e686897 commit 125a3dd

4 files changed

Lines changed: 10 additions & 1172 deletions

File tree

.github/workflows/e2e-coverage-bot.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,12 @@ jobs:
3434
coverage-bot:
3535
name: E2E Coverage Bot
3636
runs-on: ubuntu-latest
37-
# Skip commits made by the bot itself (prevent loops) and Dependabot PRs (no secret access)
38-
if: github.actor != 'mamigot' && github.actor != 'dependabot[bot]'
37+
# Skip commits made by the bot itself (prevent loops), Dependabot PRs (no secret
38+
# access), and PRs opened from forks (no secret access either).
39+
if: |
40+
github.actor != 'mamigot' &&
41+
github.actor != 'dependabot[bot]' &&
42+
github.event.pull_request.head.repo.full_name == github.repository
3943
permissions:
4044
contents: write # allow Claude to commit coverage file updates
4145
pull-requests: write # allow gh pr review to post reviews

.github/workflows/pr-e2e-tests.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,9 @@ jobs:
3838
# GATE — only run when the `run-tests` label is present
3939
# ============================================================
4040
gate:
41-
if: contains(github.event.pull_request.labels.*.name, 'run-tests')
41+
if: |
42+
contains(github.event.pull_request.labels.*.name, 'run-tests') &&
43+
github.event.pull_request.head.repo.full_name == github.repository
4244
runs-on: iblai-stg-runner
4345
steps:
4446
- run: echo "run-tests label detected — proceeding"
@@ -106,7 +108,7 @@ jobs:
106108
summary:
107109
needs: [build-playwright-image, build-app-image, run-tests]
108110
if: always()
109-
runs-on: iblai-stg-runner
111+
runs-on: ubuntu-latest
110112
steps:
111113
- name: Results
112114
run: |

0 commit comments

Comments
 (0)