Skip to content

fix(bump-callers): refresh the already-converted main (<short>) pin marker (BE-4523) #32

fix(bump-callers): refresh the already-converted main (<short>) pin marker (BE-4523)

fix(bump-callers): refresh the already-converted main (<short>) pin marker (BE-4523) #32

name: Test bump-callers script
# Runs the functional tests + shellcheck for the shared caller-bump script
# (.github/bump-callers/bump-callers.sh). That one script drives the SHA-bump
# fan-out for the cursor-review, agents-md-integrity, pr-size, AND
# assign-reviewers caller fleets,
# so a regression here silently breaks every consumer repo's pin auto-bump (or,
# worse, leaks a private caller name into this public repo's run logs) — cheap
# to guard with a unit run on change. Mirrors test-cursor-review-scripts.yml /
# test-agents-md-integrity.yml.
on:
pull_request:
paths:
- '.github/bump-callers/**'
- '.github/workflows/bump-cursor-review-callers.yml'
- '.github/workflows/bump-agents-md-callers.yml'
- '.github/workflows/bump-pr-size-callers.yml'
- '.github/workflows/bump-assign-reviewers-callers.yml'
- '.github/workflows/test-bump-callers.yml'
push:
branches: [main]
paths:
- '.github/bump-callers/**'
- '.github/workflows/bump-cursor-review-callers.yml'
- '.github/workflows/bump-agents-md-callers.yml'
- '.github/workflows/bump-pr-size-callers.yml'
- '.github/workflows/bump-assign-reviewers-callers.yml'
- '.github/workflows/test-bump-callers.yml'
permissions:
contents: read
jobs:
test:
name: shellcheck + functional
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v6
with:
persist-credentials: false
- name: ShellCheck the bump script + tests
run: shellcheck -x .github/bump-callers/bump-callers.sh .github/bump-callers/tests/test_bump_callers.sh
- name: Run bump-callers functional tests
run: bash .github/bump-callers/tests/test_bump_callers.sh