Skip to content

Commit 7c96a53

Browse files
authored
chore(ci): trim Actions spend — drop wasted PR triggers (wave-12.6.7) (#382)
Audit + fix for the Actions budget exhaustion that blocked the wave-12.6 PR cascade. Drops PR triggers from mobile-android (mobile work paused) and codeql (code-scanning not enabled, PR runs were wasted). See commit message for full rationale.
1 parent 8286853 commit 7c96a53

2 files changed

Lines changed: 17 additions & 7 deletions

File tree

.github/workflows/codeql.yml

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,12 +12,19 @@
1212
name: "CodeQL Advanced"
1313

1414
on:
15+
# CodeQL covers the security-scanning need on every merge to main + a
16+
# weekly scheduled scan. Removed the pull_request trigger 2026-05-27 —
17+
# the repo doesn't have GitHub code-scanning enabled at the org level
18+
# (every PR-time CodeQL run hits "Code scanning is not enabled for
19+
# this repository. Please enable code scanning in the repository
20+
# settings." and fails), so every PR-time run was wasted Actions
21+
# minutes. Re-add the pull_request trigger after enabling code
22+
# scanning under Settings → Security.
1523
push:
1624
branches: [ "main", "approved-branch" ]
17-
pull_request:
18-
branches: [ "main", "approved-branch" ]
1925
schedule:
2026
- cron: '25 9 * * 4'
27+
workflow_dispatch:
2128

2229
jobs:
2330
analyze:

.github/workflows/mobile-android.yml

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,18 +4,21 @@ permissions:
44
contents: read
55

66
on:
7+
# Mobile work is paused per CLAUDE.md memory (2026-04-23, files
8+
# preserved for resume). Until mobile is unpaused, the Android build
9+
# runs only on direct pushes to main + on mobile-v* release tags + on
10+
# manual workflow_dispatch. Removed the pull_request trigger 2026-05-27
11+
# to stop burning ~10 Actions minutes on every Dependabot frontend
12+
# patch (the biggest spender in the budget audit). Re-add the
13+
# pull_request trigger when mobile work resumes.
714
push:
815
branches: ['main']
916
tags:
1017
- 'mobile-v*'
1118
paths:
1219
- 'frontend/studyhub-app/**'
1320
- '.github/workflows/mobile-android.yml'
14-
pull_request:
15-
branches: ['main']
16-
paths:
17-
- 'frontend/studyhub-app/**'
18-
- '.github/workflows/mobile-android.yml'
21+
workflow_dispatch:
1922

2023
jobs:
2124
build-debug:

0 commit comments

Comments
 (0)