mirror of
https://github.com/diegosouzapw/OmniRoute.git
synced 2026-11-16 17:09:09 +00:00
actions/create-github-app-token deprecates its app-id input. Both jobs
of omni-queue.yml (approval and tick) now pass
client-id: ${{ secrets.OMNI_QUEUE_APP_CLIENT_ID }} (the App's Client ID)
instead of app-id: ${{ secrets.OMNI_QUEUE_APP_ID }}. Nothing else in the
two steps changes. The numeric App id stays an operator-side value of
apply-ruleset.mjs and is no longer a workflow secret.
Tests (workflows.test.mjs):
- re-aimed: "least privilege: no default token scopes, App token scoped
per job" now asserts the client-id input instead of app-id, and its
pinned secret set swaps OMNI_QUEUE_APP_ID for OMNI_QUEUE_APP_CLIENT_ID.
- new: "omni-queue.yml: both jobs mint the token with client-id from
OMNI_QUEUE_APP_CLIENT_ID, never app-id".
The owner must create OMNI_QUEUE_APP_CLIENT_ID in the omni-queue
environment before this lands.