Skip to content

Commit 310bb41

Browse files
committed
ci: migrate app-token auth from app-id to client-id
create-github-app-token v3 deprecated the 'app-id' input in favour of 'client-id'. Rename the orb-cicd-app-token composite input accordingly and point both callers (ci-quality, semantic-release) at the new GH_APP_CLIENT_ID secret.
1 parent b6dc437 commit 310bb41

3 files changed

Lines changed: 5 additions & 5 deletions

File tree

.github/actions/orb-cicd-app-token/action.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@ name: 'ORB CICD App Token'
22
description: 'Mint an installation token for the ORB CICD GitHub App and resolve its bot identity for git commit attribution.'
33

44
inputs:
5-
app-id:
6-
description: 'GitHub App ID (from secrets.GH_APP_ID)'
5+
client-id:
6+
description: 'GitHub App Client ID (from secrets.GH_APP_CLIENT_ID)'
77
required: true
88
private-key:
99
description: 'GitHub App private key (from secrets.GH_APP_PRIVATE_KEY)'
@@ -33,7 +33,7 @@ runs:
3333
id: app-token
3434
uses: actions/create-github-app-token@bcd2ba49218906704ab6c1aa796996da409d3eb1 # v3
3535
with:
36-
app-id: ${{ inputs.app-id }}
36+
client-id: ${{ inputs.client-id }}
3737
private-key: ${{ inputs.private-key }}
3838
# Scope token to this repository only (prevents inadvertent org-wide access)
3939
repositories: ${{ github.event.repository.name }}

.github/workflows/ci-quality.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ jobs:
8383
id: cicd
8484
uses: ./.github/actions/orb-cicd-app-token
8585
with:
86-
app-id: ${{ secrets.GH_APP_ID }}
86+
client-id: ${{ secrets.GH_APP_CLIENT_ID }}
8787
private-key: ${{ secrets.GH_APP_PRIVATE_KEY }}
8888

8989
- name: Setup UV with cache

.github/workflows/semantic-release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ jobs:
106106
id: cicd
107107
uses: ./.github/actions/orb-cicd-app-token
108108
with:
109-
app-id: ${{ secrets.GH_APP_ID }}
109+
client-id: ${{ secrets.GH_APP_CLIENT_ID }}
110110
private-key: ${{ secrets.GH_APP_PRIVATE_KEY }}
111111

112112
- name: Setup UV

0 commit comments

Comments
 (0)