Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 17 additions & 0 deletions .github/actionlint.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
# actionlint bundles a snapshot of each action's inputs. Its copy of
# actions/create-github-app-token predates the app-id -> client-id rename, so
# it rejects the current, non-deprecated input name. v1.7.12 is the newest
# release and still has the old set, so there is no linter bump that resolves
# this; the suppression below is the only way to call the action without
# tripping its runtime deprecation warning.
#
# Deliberately scoped to these two messages on this one file. php-tests.yml and
# php-composer-script.yml still pass `app-id` because their credential is a
# caller-supplied `app-id` secret rather than a Client ID, and they stay
# covered by the normal rules. Drop this file once actionlint ships the
# renamed input.
paths:
.github/workflows/release-please-reusable.yml:
ignore:
- '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'
13 changes: 8 additions & 5 deletions .github/workflows/release-please-reusable.yml
Original file line number Diff line number Diff line change
Expand Up @@ -131,11 +131,14 @@ jobs:
if: ${{ env.APP_CLIENT_ID != '' && env.APP_PRIVATE_KEY != '' }}
uses: actions/create-github-app-token@v3
with:
# `app-id` accepts a Client ID as well; the action emits a runtime
# deprecation warning preferring `client-id`, but the bundled
# actionlint database doesn't know `client-id` yet and fails the
# workflow. Stay on `app-id` until actionlint catches up.
app-id: ${{ env.APP_CLIENT_ID }}
# The credential is a Client ID, so it belongs in `client-id`.
# `app-id` still accepts one but the action now warns on it at
# runtime, on every release across the org. actionlint's bundled
# action database predates the rename and rejects `client-id`, so
# `.github/actionlint.yaml` suppresses those two messages for this
# file alone. Drop that suppression when actionlint ships the new
# input set.
client-id: ${{ env.APP_CLIENT_ID }}
private-key: ${{ env.APP_PRIVATE_KEY }}

- name: Resolve effective token
Expand Down