Repository navigation
release: v3.0.3 - #7
Merged
Merged
Conversation
… App Two related fixes to the master-commit audit workflow: 1. Label names: the action's default `issue_labels` was `bot:audit,priority:high` — neither matched the org's label catalog (`data/github-labels.json` has no `bot:` family, and the canonical high-priority label is `priority: high` with a space). Result: the audit auto-created two ad-hoc labels (`bot:audit`, `priority:high`) the first time it fired, instead of using the existing catalog entries. Switch the default to `type: ci,priority: high` — both canonical names present in the catalog. 2. Bot attribution: the audit issue was filed by github-actions[bot] because the workflow passed `secrets.GITHUB_TOKEN` directly. Wire the existing `create-app-token` composite so the issue is filed by the consumer's bot App when its credentials are available; falls back to GITHUB_TOKEN otherwise. Files touched: - .github/actions/git/jobs/audit-commit-subject/action.yml (default labels + clarified description) - .github/workflows/local-master-commit-audit.yml (App token step + canonical labels) - examples/individual-repo-workflows/release-companions/master-commit-audit.yml (App token step + canonical labels + documentation on the secrets block) Surfaced by the v3.0.2 release-merge: the `release: 3.0.2` commit on master tripped the audit (which expects `release: vX.Y.Z`, not bare `X.Y.Z`), exposing the label-naming and attribution bugs at once.
workflow-release.yml passed inputs.build_command to reusable-build-and-test
but dropped it on the way to reusable-release-management. Result: the
release-management leg silently used its default `npm run build:ci`,
ignoring any consumer override.
Visible failure on this repo's release-flow: build-and-test succeeded
(echo override applied), then release-management failed at
`Build failed: npm run build:ci` because the override never reached it.
One-line addition: `build_command: ${{ inputs.build_command }}` in the
release job's `with:` block. test_command isn't passed because
release-management's create-release-pr action doesn't currently accept
it (its build step is the only command-injection point — tests are
re-run via build-and-test in the prior job).
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
🚀 What's Changed
💥 Breaking Changes
No breaking changes
✨ Features
No new features
🐛 Bug Fixes
🔧 Other Changes
No other changes
👥 Contributors