GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Fix stale metadata for `actions/create-github-app-token` by anthonymonori · Pull Request #652 · rhysd/actionlint

Conversation

@anthonymonori

@anthonymonori anthonymonori commented Apr 20, 2026

Copy link
Copy Markdown

@v3 currently reflects the old v3.0.0 input shape, which causes false positives when workflows use client-id and the current moving v3 tag.

Example output (before changes in this PR):

$ actionlint .github/workflows/cherry-pick.yml
.github/workflows/cherry-pick.yml:91:15: missing input "app-id" which is required by action "actions/create-github-app-token@v3". all required inputs are "app-id", "private-key" [action]
.github/workflows/cherry-pick.yml:93:11: input "client-id" is not defined in action "actions/create-github-app-token@v3". available inputs are "app-id", ..., "private-key", ... [action]

actions/[email protected] release notes

This updates the popular actions registry and regenerates popular_actions.go so that:

  • actions/create-github-app-token@v3 matches the current upstream v3 metadata
  • actions/[email protected] is kept as a separate exact entry for workflows pinned to that version

Fixes #648

I've checked the CONTRIBUTIONS doc, ran linting, ran go generate (there actually was some other unrelated changes for aws-actions/configure-aws-credentials@v6 that i reverted since it's unrelated to this PR but just an FYI).

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.

michen00 reacted with thumbs up emoji
All reactions
  • 👍 1 reaction
anthonymonori added 3 commits April 20, 2026 15:39
@anthonymonori
fix action metadata for create-github-app-token v3
cb23884
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.
@anthonymonori
add create-github-app-token v3.0.0 metadata
bb3de59
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.
@anthonymonori
generate metadata for create-github-app-token tags
c43d212
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.
@muzimuzhi

muzimuzhi commented Apr 20, 2026

Copy link
Copy Markdown
Contributor

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.

I think the latter way is adopted in this repo.

BTW, input updates in popular_actions.go file can be auto-updated by the generate.yaml workflow, see for example #611.

But recently it failed because new releases of popular actions were detected but they were missing from the popular_actions.go:

[step] Check new release on GitHub
......
Detected some new releases
2026/04/18 02:04:56 Done detecting new versions in 99 repositories
https://github.com/actions/github-script/tree/v9
https://github.com/actions/upload-pages-artifact/tree/v5
https://github.com/dawidd6/action-download-artifact/tree/v20
https://github.com/softprops/action-gh-release/tree/v3
exit status 2
Error: Process completed with exit code 1.

https://github.com/rhysd/actionlint/actions/runs/24594466017/job/71921705206#step:4:207

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@anthonymonori
keep create-github-app-token fix focused on v3
778f197
Remove the exact v3.0.0 entry and fixture so this stays limited to the current actions/create-github-app-token@v3 metadata fix.
@anthonymonori

anthonymonori commented Apr 20, 2026 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Author

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

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

rcmdnk added a commit to rcmdnk/python-action that referenced this pull request May 7, 2026
@rcmdnk
feat: add GitHub App auth for installing private repository dependencies
a30ddf2
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
@wphillipmoore wphillipmoore mentioned this pull request May 24, 2026
Upgrade actionlint when client-id support lands upstream vergil-project/vergil-containers#260
Closed
@kojiromike kojiromike mentioned this pull request May 30, 2026
ci(actionlint): ignore stale create-github-app-token input errors openemr/openemr-devops#755
Merged
1 task
kojiromike added a commit to openemr/openemr-devops that referenced this pull request May 30, 2026
@kojiromike
ci(actionlint): ignore stale create-github-app-token input errors (#755)
bfac9be
## 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)
@smorin

smorin commented Jun 16, 2026

Copy link
Copy Markdown

Looking forward to this one

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

smorin added a commit to smorinlabs/py-launch-blueprint that referenced this pull request Jun 16, 2026
@smorin
ci(actionlint): suppress false-positive client-id warning
c767a75
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.
smorin added a commit to smorinlabs/py-launch-blueprint that referenced this pull request Jun 16, 2026
@smorin
ci: migrate release-please + update-contributors to client-id (#440)
e0da701
* 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.
@Garmelon Garmelon mentioned this pull request Jun 24, 2026
chore: CI: set up adaptation PRs leanprover/lean4#14169
Merged
@coderabbitai coderabbitai Bot mentioned this pull request Jul 29, 2026
chore(ci): harden issue-fields backfill and record verification lightspeedwp/.github#1405
Merged
10 tasks done
@kolyshkin kolyshkin mentioned this pull request Aug 5, 2026
Update the popular actions data set #718
Closed
@kjanat kjanat mentioned this pull request Aug 19, 2026
rhysd (the author) inactive. Any active forks? #719
Open
danedf
danedf approved these changes Sep 1, 2026
View reviewed changes
kojiromike pushed a commit to openCoreEMR/actionlint that referenced this pull request Sep 1, 2026
@anthonymonori @kojiromike
test: cover create-github-app-token@v3 client-id input
ce44fa4
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
This was referenced Sep 1, 2026
fix: run actionlint from the OCE fork with corrected action metadata openCoreEMR/github-workflows-public#27
Merged
ci: run actionlint from the OCE fork with corrected action metadata openCoreEMR/openemr-phpstan-rules#35
Merged
ci: run actionlint from the OCE fork with corrected action metadata openCoreEMR/oce-cli-import-codes#96
Merged
ci: run actionlint from the OCE fork with corrected action metadata openCoreEMR/oce-module-sinch-fax#158
Merged
ci: run actionlint from the OCE fork with corrected action metadata openCoreEMR/oce-module-template#59
Merged
kojiromike added a commit to openCoreEMR/openemr-phpstan-rules that referenced this pull request Sep 2, 2026
@kojiromike
ci: run actionlint from the OCE fork with corrected action metadata
d46f2c9
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.
kojiromike added a commit to openCoreEMR/github-workflows-public that referenced this pull request Sep 2, 2026
@kojiromike
fix: run actionlint from the OCE fork with corrected action metadata
987102a
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.
kojiromike added a commit to openCoreEMR/oce-cli-import-codes that referenced this pull request Sep 2, 2026
@kojiromike
ci: run actionlint from the OCE fork with corrected action metadata (#96
71969c0
)

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.
kojiromike added a commit to openCoreEMR/oce-module-sinch-fax that referenced this pull request Sep 2, 2026
@kojiromike
ci: run actionlint from the OCE fork with corrected action metadata (#…
93e467e
…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.
kojiromike added a commit to openCoreEMR/oce-module-template that referenced this pull request Sep 2, 2026
@kojiromike
ci: run actionlint from the OCE fork with corrected action metadata (#59
4c2779f
)

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.
kojiromike added a commit to openCoreEMR/github-workflows-public that referenced this pull request Sep 2, 2026
@kojiromike
fix: run actionlint from the OCE fork with corrected action metadata
ef92691
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.

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

1 more reviewer
@danedf danedf danedf approved these changes
Reviewers whose approvals may not affect merge requirements

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

actions/create-github-app-token@v3 inputs changed

Uh oh!

There was an error while loading. Please reload this page.

4 participants

@anthonymonori @muzimuzhi @smorin @danedf
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.
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.