Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/allow-deploys.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ permissions:
jobs:
allow-release:
name: Allow release
runs-on: linux-arm64
runs-on: ${{ github.event.repository.private && 'arc-arm64-2cpu-4gb' || 'ubuntu-24.04-arm' }}
steps:
- name: Checkout
uses: actions/checkout@d23441a48e516b6c34aea4fa41551a30e30af803 # v6
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/block-deploys.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ permissions:
jobs:
disable-deploy-flows:
name: Disable and cancel deploy
runs-on: linux-arm64
runs-on: ${{ github.event.repository.private && 'arc-arm64-2cpu-4gb' || 'ubuntu-24.04-arm' }}
steps:
- name: Checkout
uses: actions/checkout@d23441a48e516b6c34aea4fa41551a30e30af803 # v6
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/component-deploy-v2.yml
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ permissions:
jobs:
deploy:
name: Deploy
runs-on: linux-arm64
runs-on: ${{ github.event.repository.private && 'arc-arm64-2cpu-4gb' || 'ubuntu-24.04-arm' }}
timeout-minutes: 10
outputs:
stage: ${{ inputs.stage }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/component-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ permissions:
jobs:
deploy:
name: Deploy
runs-on: linux-arm64
runs-on: ${{ github.event.repository.private && 'arc-arm64-2cpu-4gb' || 'ubuntu-24.04-arm' }}
timeout-minutes: 20
outputs:
stage: ${{ inputs.stage }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/create-release-tag.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ on:
jobs:
create-tag:
name: Create Release Tag
runs-on: linux-arm64
runs-on: ${{ github.event.repository.private && 'arc-arm64-2cpu-4gb' || 'ubuntu-24.04-arm' }}
permissions:
contents: write
steps:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/deploy-generic-v2.yml
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ permissions:
jobs:
slack-token-deprecation:
name: Deprecation check
runs-on: ubuntu-latest
runs-on: ${{ github.event.repository.private && 'arc-arm64-2cpu-4gb' || 'ubuntu-24.04-arm' }}
steps:
- name: Warn if deprecated SLACK_APP_TOKEN is provided
env:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/deploy-generic.yml
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ permissions:
jobs:
slack-token-deprecation:
name: Deprecation check
runs-on: ubuntu-latest
runs-on: ${{ github.event.repository.private && 'arc-arm64-2cpu-4gb' || 'ubuntu-24.04-arm' }}
steps:
- name: Warn if deprecated SLACK_APP_TOKEN is provided
env:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/deploy-kotlin-v2.yml
Original file line number Diff line number Diff line change
Expand Up @@ -328,7 +328,7 @@ jobs:
name: Create and Publish Changelog
needs: [create-release-tag, deploy]
if: always() && inputs.enable-changelog && needs.deploy.result == 'success'
runs-on: ubuntu-latest
runs-on: ${{ github.event.repository.private && 'arc-arm64-2cpu-4gb' || 'ubuntu-24.04-arm' }}
timeout-minutes: 5
steps:
- name: Run changelog cli action
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/deploy-kotlin.yml
Original file line number Diff line number Diff line change
Expand Up @@ -313,7 +313,7 @@ jobs:
name: Create and Publish Changelog
needs: [create-release-tag, deploy]
if: always() && inputs.enable-changelog && needs.deploy.result == 'success'
runs-on: linux-arm64
runs-on: ${{ github.event.repository.private && 'arc-arm64-2cpu-4gb' || 'ubuntu-24.04-arm' }}
timeout-minutes: 5
steps:
- name: Run changelog cli action
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/deploy-python.yml
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ permissions:
jobs:
slack-token-deprecation:
name: Deprecation check
runs-on: ubuntu-latest
runs-on: ${{ github.event.repository.private && 'arc-arm64-2cpu-4gb' || 'ubuntu-24.04-arm' }}
steps:
- name: Warn if deprecated SLACK_APP_TOKEN is provided
env:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/pr-digest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ permissions:
jobs:
digest:
name: Build and post PR digest
runs-on: linux-arm64
runs-on: ${{ github.event.repository.private && 'arc-arm64-2cpu-4gb' || 'ubuntu-24.04-arm' }}
timeout-minutes: 10
env:
GH_TOKEN: ${{ github.token }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/publish-tech-docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ on:

jobs:
publish-techdocs-site:
runs-on: linux-arm64
runs-on: ${{ github.event.repository.private && 'arc-arm64-2cpu-4gb' || 'ubuntu-24.04-arm' }}

env:
TECHDOCS_S3_BUCKET_NAME: 'monta-tech-docs'
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/pull-request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ permissions:
jobs:
lint-workflows:
name: Lint GitHub Workflows
runs-on: linux-arm64
runs-on: ${{ github.event.repository.private && 'arc-arm64-2cpu-4gb' || 'ubuntu-24.04-arm' }}
steps:
- name: Checkout code
uses: actions/checkout@d23441a48e516b6c34aea4fa41551a30e30af803 # v6
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/rollback.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ jobs:
slackNotification:
name: Send Slack notification
if: ${{ !inputs.dry-run }}
runs-on: linux-arm64
runs-on: ${{ github.event.repository.private && 'arc-arm64-2cpu-4gb' || 'ubuntu-24.04-arm' }}
steps:
- uses: actions/checkout@d23441a48e516b6c34aea4fa41551a30e30af803 # v6
- name: Slack Notification
Expand Down Expand Up @@ -79,7 +79,7 @@ jobs:
needs: block-deploys
if: ${{ !cancelled() && (needs.block-deploys.result == 'success' || needs.block-deploys.result == 'skipped') }}
name: Deploy rollback
runs-on: linux-arm64
runs-on: ${{ github.event.repository.private && 'arc-arm64-2cpu-4gb' || 'ubuntu-24.04-arm' }}
steps:
- name: Checkout branch
uses: actions/checkout@d23441a48e516b6c34aea4fa41551a30e30af803 # v6
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/semgrep-security-scan.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ on:
jobs:
semgrep:
name: Security Scan
runs-on: linux-arm64
runs-on: ${{ github.event.repository.private && 'arc-arm64-4cpu-12gb' || 'ubuntu-24.04-arm' }}
timeout-minutes: ${{ inputs.timeout-minutes }}
permissions:
contents: read
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/track-pending-release.yml

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

📝 [actionlint] reported by reviewdog 🐶
shellcheck reported issue in this script: SC2016:info:5:86: Expressions don't expand in single quotes, use double quotes for that [shellcheck]

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixed in 7e147bf: the backticks are written as jq's ``` escape, so the shell string has none for shellcheck to flag. Same output: checked with jq and with gh --jq (gojq) on a real comparison.

Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ on:
jobs:
update-pending-release:
name: Update Pending Release Changelog
runs-on: linux-arm64
runs-on: ${{ github.event.repository.private && 'arc-arm64-2cpu-4gb' || 'ubuntu-24.04-arm' }}
timeout-minutes: 5
steps:
- name: Checkout
Expand Down Expand Up @@ -75,7 +75,7 @@ jobs:
MAIN="${{ steps.get-main.outputs.main-sha }}"

# Get commits between deployed and main
COMMITS=$(gh api "repos/${{ github.repository }}/compare/${DEPLOYED}...${MAIN}" --jq '.commits[] | "- [`\(.sha[0:7])`](\(.html_url)) \(.commit.message | split("\n")[0]) by @\(.author.login // "unknown")"')
COMMITS=$(gh api "repos/${{ github.repository }}/compare/${DEPLOYED}...${MAIN}" --jq '.commits[] | "- [\u0060\(.sha[0:7])\u0060](\(.html_url)) \(.commit.message | split("\n")[0]) by @\(.author.login // "unknown")"')

# Count commits
COMMIT_COUNT=$(gh api "repos/${{ github.repository }}/compare/${DEPLOYED}...${MAIN}" --jq '.total_commits')
Expand Down
9 changes: 6 additions & 3 deletions CLAUDE.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,12 @@
# Claude Code Notes

## Last Documentation Update
- **Date**: 2026-10-05
- **Latest SHA**: 4491679 (check for newer commits)
- **Changes**: Removed Blacksmith runner support
- **Date**: 2026-10-06
- **Latest SHA**: 340af8f (check for newer commits)
- **Changes**: The shared workflows' own jobs run on ARC in private repositories

## Recent Changes (2026-10-06)
1. **The shared workflows' own jobs run on ARC**: the 17 jobs that named a GitHub-hosted label (`component-deploy(-v2)` deploy, `create-release-tag`, the deploy workflows' changelog and Slack-token deprecation jobs, `rollback`, `track-pending-release`, `pr-digest`, `publish-tech-docs`, `allow-/block-deploys`, `semgrep-security-scan`, and this repo's own `pull-request.yml`) use `${{ github.event.repository.private && 'arc-arm64-2cpu-4gb' || 'ubuntu-24.04-arm' }}`; semgrep gets `arc-arm64-4cpu-12gb`. Public callers, and events without a repository in the payload (`schedule`), get GitHub's standard arm64 runner. The deploy and rollback jobs rely on `yq` v4 and `jq` from the runner, both in the ARC image; `argocd` is downloaded by `argocd-wait-sync`, and nothing calls the `helm` CLI.

## Recent Changes (2026-10-05)
1. **Blacksmith runner support removed**: the `use-blacksmith-runners` input is gone from every workflow and from `runner-size-converter`, `component-build` no longer has the `build-blacksmith` job (`build-self-hosted` always runs), and the Blacksmith labels are out of `actionlint.yaml`. The converter now resolves ARC (`use-arc-runners: true` in a private repo), `ubuntu-24.04-arm` (public repo), or else the GitHub-hosted `linux-arm64` / `linux-arm64-xl`; that last case covers callers that opt out of ARC and events without a repository in the payload (`schedule`), which previously fell back to Blacksmith. Callers that still pass `use-blacksmith-runners` fail at startup; changelog-monorepo and service-productops dropped it first. Repos pinned to an older github-workflows SHA keep that SHA's behaviour, and the seven pinned to `f0866ab` (Blacksmith by default) were bumped to `4491679`.
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -295,7 +295,7 @@ on:

jobs:
schedule-guard:
runs-on: ubuntu-latest
runs-on: arc-arm64-2cpu-4gb
outputs:
proceed: ${{ steps.check.outputs.proceed }}
steps:
Expand Down
4 changes: 2 additions & 2 deletions docs/workflow-guide.md
Original file line number Diff line number Diff line change
Expand Up @@ -1243,7 +1243,7 @@ on:

jobs:
schedule-guard:
runs-on: ubuntu-latest
runs-on: arc-arm64-2cpu-4gb
outputs:
proceed: ${{ steps.check.outputs.proceed }}
steps:
Expand Down Expand Up @@ -1392,7 +1392,7 @@ jobs:
terraform-ok:
needs: [discover, terraform]
if: always()
runs-on: ubuntu-latest
runs-on: arc-arm64-2cpu-4gb
steps:
- run: |
[[ "${{ needs.discover.result }}" == "success" ]] || exit 1
Expand Down