ci(actionlint): ignore stale create-github-app-token input errors#755
Merged
kojiromike merged 4 commits intoMay 30, 2026
Merged
Conversation
actionlint ships pre-v3.1.0 metadata for actions/create-github-app-token, so it wrongly rejects `client-id` and demands the deprecated `app-id`. Scope an ignore to just that action until the upstream fix lands. Assisted-by: Claude Code
Contributor
There was a problem hiding this comment.
Pull request overview
Adds an actionlint configuration workaround to suppress two known-false-positive errors for actions/create-github-app-token caused by actionlint’s stale bundled action metadata, while keeping all other actionlint checks enabled.
Changes:
- Introduces
.github/actionlint.yamlwith scoped ignores forcreate-github-app-token’s deprecatedapp-id/ newclient-idinput mismatch. - Limits the ignore scope to workflow files under
.github/workflows/*.yml.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Match `actions/create-github-app-token@<version>"` including the version suffix and closing quote so the ignore can't accidentally match unrelated messages sharing the prefix. Assisted-by: Claude Code
The paths filter only matched .github/actions/** and .github/workflows/**, so edits to the new .github/actionlint.yaml config would not run the lint job. Add the config to both push and pull_request paths. Assisted-by: Claude Code
GitHub Actions accepts both extensions; scope the ignore glob to
*.{yml,yaml} so a future .yaml workflow using create-github-app-token
isn't silently excluded from the workaround.
Assisted-by: Claude Code
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.
Summary
actionlint ships pre-v3.1.0 bundled metadata for
actions/create-github-app-token, so it wrongly rejects the currentclient-idinput and demands the now-deprecatedapp-id. This adds a.github/actionlint.yamlthat scopes an ignore to just that action's two error messages, keeping every other actionlint check active.The errors silenced (across all workflows using
client-id):missing input "app-id" which is required by action "actions/create-github-app-token..."input "client-id" is not defined in action "actions/create-github-app-token..."Auto-discovered by both local runs and the
reviewdog/action-actionlintCI job — no flag changes needed. Remove once the upstream fix lands: rhysd/actionlint#652Test plan