GeezerVisonThe World Wide Web, restored to 800 pixels of glory. | |||
| Home|About|Gaming cabinet|Archives|How it works|Starter sites | |||
GeezerVison is showing github.com — Fix stale metadata for `actions/create-github-app-token` by anthonymonori · Pull Request #652 · rhysd/actionlint Conversation
Example output (before changes in this PR): actions/[email protected] release notes This updates the popular actions registry and regenerates
Fixes #648 I've checked the CONTRIBUTIONS doc, ran linting, ran Let me know if I missed anything! 🙏 Or if you would prefer if we don't add the 3.0.0 regression case and just change the 1 line that's matters.
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page. All reactions
Update actions/create-github-app-token@v3 so client-id is accepted and app-id is treated as deprecated instead of required. Add a fixture covering the moving v3 tag with client-id. Add an explicit actions/[email protected] entry to preserve the old input shape for workflows pinned to that exact version. Add a fixture covering the exact ref with app-id. Add [email protected] to the popular actions registry and regenerate popular_actions.go so the v3 entry matches the current upstream metadata while preserving the exact v3.0.0 shape.
Contributor
All reactions
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page. Remove the exact v3.0.0 entry and fixture so this stays limited to the current actions/create-github-app-token@v3 metadata fix.
|
There was an error while loading. Please reload this page.
|
Thanks @muzimuzhi for pointing that out. Was looking around how to address that issue as I ran into it locally, but I didn't see that we have a way to auto-update metadata. I guess if that workflow would be fixed, we would get a PR that patches this change for v3 anyway? In that case, I'm happy to close this down and go that route. 🙏 In the meanwhile I also removed the regression case and reduced this PR to the minimal change in 778f197 |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
intent(private-repo-app): integrate the standalone app.yml prototype into action.yml so users can pull private GitHub deps via this action's inputs decision(input-naming): named the inputs private-repo-app-* so the purpose (private repo access via a GitHub App) is obvious from the input list rejected(input-naming): bare app-* / owner / repositories from the prototype — too generic, no hint that they enable private repo access decision(rewrite-mechanism): GIT_CONFIG_COUNT / GIT_CONFIG_KEY_<n> / GIT_CONFIG_VALUE_<n> env vars to layer url.*.insteadOf on top of the existing global git config rejected(rewrite-mechanism): replacing GIT_CONFIG_GLOBAL with a temp gitconfig — drops the runner's existing global settings and hardcodes ~/.gitconfig while git also reads ~/.config/git/config decision(rewrite-scope): emit per-repository url.*.insteadOf entries so the token only attaches to repos that are in the App installation scope rejected(rewrite-scope): owner-wide rewrite — would catch other repos under the same owner and 404 because the installation token is scoped to specific repos constraint(poetry-git-client): Poetry's default dulwich client ignores GIT_CONFIG_* env vars; POETRY_SYSTEM_GIT_CLIENT / POETRY_EXPERIMENTAL_SYSTEM_GIT_CLIENT are forced so the rewrite applies constraint(cleanup-position): cleanup runs after pre-commit/prek (not right after Setup environment) so private hook repos can still be fetched while the rewrite is active constraint(cleanup-failure-mode): cleanup uses always() so the rewrite is dropped even when poetry install / uv sync fails, preventing the token-bearing env vars from leaking into later if: always() steps learned(actionlint-client-id): actionlint < rhysd/actionlint#652 does not yet recognize client-id on actions/create-github-app-token, hence the .github/actionlint.yaml ignore entries
## Summary actionlint ships pre-v3.1.0 bundled metadata for `actions/create-github-app-token`, so it wrongly rejects the current `client-id` input and demands the now-deprecated `app-id`. This adds a `.github/actionlint.yaml` that 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-actionlint` CI job — no flag changes needed. Remove once the upstream fix lands: rhysd/actionlint#652 ## Test plan - [ ] actionlint CI job passes (no create-github-app-token errors, other checks intact)
|
Looking forward to this one |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
actionlint v1.7.12 (latest) has stale schema for actions/create-github-app-token@v3 and flags `client-id` as an unknown input. The action does accept `client-id` (added shortly after actionlint's bundled metadata was generated), with `app-id` now deprecated. Add a narrowly-scoped suppression in .github/actionlint.yaml until upstream lands a fix. Tracking: - rhysd/actionlint#652 (PR, opened 2026-04-20) - rhysd/actionlint#668 (PR, opened 2026-05-21) REMOVE this file once a newer actionlint release ships with updated metadata.
* ci: migrate release-please + update-contributors to client-id Both workflows used the legacy single-step `app-id` pattern with `RELEASE_PLEASE_APP_ID` / `CONTRIBUTORS_PLEASE_APP_ID` secrets. `actions/create-github-app-token@v3` deprecated `app-id` in favor of `client-id` (the App's Client ID, e.g. Iv23li...). The corresponding *_CLIENT_ID secrets are already provisioned on the repo via the repo-secrets skill. - release-please.yml: rename RP_APP_ID -> RP_CLIENT_ID env var, switch app-id -> client-id input in both release-please and sync-uv-lock jobs, update header comment. - update-contributors.yml: switch app-id -> client-id input passed to smorinlabs/contributors-please-action (which accepts both). Sibling repos (smorinlabs/contributors-please, contributors-please-action) already migrated and verified via probe runs. * ci(actionlint): suppress false-positive `client-id` warning actionlint v1.7.12 (latest) has stale schema for actions/create-github-app-token@v3 and flags `client-id` as an unknown input. The action does accept `client-id` (added shortly after actionlint's bundled metadata was generated), with `app-id` now deprecated. Add a narrowly-scoped suppression in .github/actionlint.yaml until upstream lands a fix. Tracking: - rhysd/actionlint#652 (PR, opened 2026-04-20) - rhysd/actionlint#668 (PR, opened 2026-05-21) REMOVE this file once a newer actionlint release ships with updated metadata. * fix(ci): keep app-id input name in update-contributors.yml smorinlabs/contributors-please-action's action.yml only declares `app-id` as input (no `client-id`). The prior migration commit renamed it to `client-id:` — at runtime that input would be silently ignored and App auth would fail. Revert just the input NAME change in update-contributors.yml; keep the secret VALUE pointing at CONTRIBUTORS_PLEASE_CLIENT_ID. The action's `app-id` input forwards to @octokit/auth-app's `createAppAuth({ appId })`, which transparently accepts both numeric App IDs and Client ID strings (PR #38 in the action repo uses the same approach for e2e.yml). Also narrow .github/actionlint.yaml — update-contributors.yml no longer references `client-id`, so its suppression entry is removed. release-please.yml's suppression stays (canonical actions/create-github-app-token@v3, still flagged by actionlint v1.7.12). * style(actionlint): wrap long ignore-rule strings to satisfy yamllint Reviewer feedback (CodeRabbit): lines 51 and 53 of .github/actionlint.yaml exceed the 88-char limit yamllint warns at. Use YAML folded scalars (>-) to break across lines while preserving the byte-identical string actionlint matches against.
Add a testdata/ok case using the canonical `client-id` input so the metadata regression that produced the `app-id` / `client-id` false-positive pair stays covered by TestLinterOK. Taken from upstream PR rhysd#652 (file added in cb23884), which fixes the same issue from the other end; the metadata change in that PR is superseded here by rhysd#668, which additionally carries the `enterprise` input. Assisted-by: Claude Code
Upstream actionlint v1.7.12 ships stale bundled metadata for `actions/create-github-app-token@v3`: it still marks `app-id` as required and does not know `client-id`, so every call site using the canonical input gets two false positives. Upstream's metadata-refresh workflow has been wedged since 2026-03 and the fixes (rhysd/actionlint#652, #668) are unmerged. Switches to `openCoreEMR/[email protected]` — v1.7.12 plus the regenerated metadata entry. No published image is needed: the workflow action builds from the fork's Dockerfile and the pre-commit `actionlint` hook builds from source.
Upstream actionlint v1.7.12 ships stale bundled metadata for `actions/create-github-app-token@v3`: it still marks `app-id` as required and does not know `client-id`, so every call site using the canonical (non-deprecated) input gets two false positives. Upstream's metadata-refresh workflow has been wedged since 2026-03 and the fixes (rhysd/actionlint#652, #668) are unmerged. Points the lint step at openCoreEMR/[email protected] — v1.7.12 plus the regenerated metadata entry. No published image is needed; GitHub builds the action from the fork's Dockerfile exactly as it does for upstream.
) Upstream actionlint v1.7.12 ships stale bundled metadata for `actions/create-github-app-token@v3`: it still marks `app-id` as required and does not know `client-id`, so every call site using the canonical input gets two false positives. Upstream's metadata-refresh workflow has been wedged since 2026-03 and the fixes (rhysd/actionlint#652, #668) are unmerged. Points the pre-commit hook at `openCoreEMR/[email protected]` — v1.7.12 plus the regenerated metadata entry. The `actionlint` hook id builds from source, so no published image is involved. This also picks up v1.7.10 -> v1.7.12.
…158) Upstream actionlint v1.7.12 ships stale bundled metadata for `actions/create-github-app-token@v3`: it still marks `app-id` as required and does not know `client-id`, so every call site using the canonical input gets two false positives. Upstream's metadata-refresh workflow has been wedged since 2026-03 and the fixes (rhysd/actionlint#652, #668) are unmerged. Points the pre-commit hook at `openCoreEMR/[email protected]` — v1.7.12 plus the regenerated metadata entry. The `actionlint` hook id builds from source, so no published image is involved. This also picks up v1.7.10 -> v1.7.12.
) Upstream actionlint v1.7.12 ships stale bundled metadata for `actions/create-github-app-token@v3`: it still marks `app-id` as required and does not know `client-id`, so every call site using the canonical input gets two false positives. Upstream's metadata-refresh workflow has been wedged since 2026-03 and the fixes (rhysd/actionlint#652, #668) are unmerged. Points the pre-commit hook at `openCoreEMR/[email protected]` — v1.7.12 plus the regenerated metadata entry. The `actionlint` hook id builds from source, so no published image is involved. This also picks up v1.7.10 -> v1.7.12.
Upstream actionlint v1.7.12 ships stale bundled metadata for `actions/create-github-app-token@v3`: it still marks `app-id` as required and does not know `client-id`, so every call site using the canonical (non-deprecated) input gets two false positives. Upstream's metadata-refresh workflow has been wedged since 2026-03 and the fixes (rhysd/actionlint#652, #668) are unmerged. Points the lint step at openCoreEMR/[email protected] — v1.7.12 plus the regenerated metadata entry. No published image is needed; GitHub builds the action from the fork's Dockerfile exactly as it does for upstream.
There was an error while loading. Please reload this page.
Successfully merging this pull request may close these issues.
actions/create-github-app-token@v3 inputs changed
There was an error while loading. Please reload this page.