diff --git a/.github/actions/check-linked-issue/README.md b/.github/actions/check-linked-issue/README.md index df2beaf..0ef07f9 100644 --- a/.github/actions/check-linked-issue/README.md +++ b/.github/actions/check-linked-issue/README.md @@ -112,7 +112,7 @@ permissions: - `privateKey` (**required**): Private key for the `overture-check-linked-issue` GitHub App, used to generate an installation token for cross-repo GraphQL reads. Pass `${{ secrets.CHECK_LINKED_ISSUE_APP_PEM }}`. The value must include the full PEM block with a trailing newline. -- `appId` (optional): GitHub App ID. Defaults to `2932845` (the [Overture Check Linked Issues app](https://github.com/organizations/OvertureMaps/settings/apps/overture-check-linked-issue)) and does not normally need to be overridden. +- `clientId` (optional): GitHub App client ID. Defaults to `Iv23liJL38m6IaQFoD60`, the client ID of the [Overture Check Linked Issues app](https://github.com/organizations/OvertureMaps/settings/apps/overture-check-linked-issue) — GitHub accepts the numeric App ID here too. Does not normally need to be overridden. - `minimumLinkedIssues` (optional): Minimum number of linked issues required for the PR. Default is `1`. Set this input to require more than one linked issue: diff --git a/.github/actions/check-linked-issue/action.yml b/.github/actions/check-linked-issue/action.yml index e5d616c..0787219 100644 --- a/.github/actions/check-linked-issue/action.yml +++ b/.github/actions/check-linked-issue/action.yml @@ -10,10 +10,13 @@ inputs: description: Minimum number of linked issues required required: false default: 1 - appId: - description: GitHub App ID used to generate an installation token for cross-repo linked issue reads + clientId: + description: > + GitHub App client ID used to generate an installation token for + cross-repo linked issue reads. The numeric App ID also works here, + as GitHub accepts either as the JWT issuer. required: false - default: "2932845" #https://github.com/organizations/OvertureMaps/settings/apps/overture-check-linked-issue + default: "Iv23liJL38m6IaQFoD60" #https://github.com/organizations/OvertureMaps/settings/apps/overture-check-linked-issue privateKey: description: > GitHub App private key used to generate an installation token. @@ -50,7 +53,7 @@ runs: if: ${{ inputs.privateKey != '' }} uses: actions/create-github-app-token@bcd2ba49218906704ab6c1aa796996da409d3eb1 # v3.2.0 # zizmor: ignore[github-app,ref-version-mismatch] -- intentional: org-wide reusable workflow; dedicated GH App limits risk in lieu of per-repo scoping with: - app-id: ${{ inputs.appId }} + client-id: ${{ inputs.clientId }} private-key: ${{ inputs.privateKey }} owner: ${{ github.repository_owner }} # zizmor: ignore[github-app] -- intentional: org-wide reusable workflow; dedicated GH App limits risk in lieu of per-repo scoping