Skip to content

Commit 709e58b

Browse files
authored
Merge pull request #138 from ptr727/develop
Release: secret-name hotfix (CODEGEN_APP_CLIENT_ID)
2 parents c628d35 + b2d2c49 commit 709e58b

3 files changed

Lines changed: 6 additions & 6 deletions

File tree

.github/workflows/merge-bot-pull-request.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ jobs:
8888
id: app-token
8989
uses: actions/create-github-app-token@d72941d797fd3113feb6b93fd0dec494b13a2547 # v1.12.0
9090
with:
91-
app-id: ${{ secrets.CODEGEN_APP_ID }}
91+
app-id: ${{ secrets.CODEGEN_APP_CLIENT_ID }}
9292
private-key: ${{ secrets.CODEGEN_APP_PRIVATE_KEY }}
9393

9494
- name: Get dependabot metadata step
@@ -151,7 +151,7 @@ jobs:
151151
id: app-token
152152
uses: actions/create-github-app-token@d72941d797fd3113feb6b93fd0dec494b13a2547 # v1.12.0
153153
with:
154-
app-id: ${{ secrets.CODEGEN_APP_ID }}
154+
app-id: ${{ secrets.CODEGEN_APP_CLIENT_ID }}
155155
private-key: ${{ secrets.CODEGEN_APP_PRIVATE_KEY }}
156156

157157
- name: Merge pull request step
@@ -204,7 +204,7 @@ jobs:
204204
id: app-token
205205
uses: actions/create-github-app-token@d72941d797fd3113feb6b93fd0dec494b13a2547 # v1.12.0
206206
with:
207-
app-id: ${{ secrets.CODEGEN_APP_ID }}
207+
app-id: ${{ secrets.CODEGEN_APP_CLIENT_ID }}
208208
private-key: ${{ secrets.CODEGEN_APP_PRIVATE_KEY }}
209209

210210
- name: Disable auto-merge step

.github/workflows/run-codegen-pull-request-task.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ on:
1212
workflow_call:
1313
secrets:
1414
# GitHub App credentials to generate an installation token
15-
CODEGEN_APP_ID:
15+
CODEGEN_APP_CLIENT_ID:
1616
required: true
1717
CODEGEN_APP_PRIVATE_KEY:
1818
required: true
@@ -46,7 +46,7 @@ jobs:
4646
id: app-token
4747
uses: actions/create-github-app-token@d72941d797fd3113feb6b93fd0dec494b13a2547 # v1.12.0
4848
with:
49-
app-id: ${{ secrets.CODEGEN_APP_ID }}
49+
app-id: ${{ secrets.CODEGEN_APP_CLIENT_ID }}
5050
private-key: ${{ secrets.CODEGEN_APP_PRIVATE_KEY }}
5151

5252
- name: Setup .NET SDK step

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -434,7 +434,7 @@ See [`AGENTS.md`](./AGENTS.md) for the complete branching, PR, and workflow conv
434434
435435
CI/CD relies on these secrets being configured on the repo:
436436
437-
- `CODEGEN_APP_ID` and `CODEGEN_APP_PRIVATE_KEY` — GitHub App credentials used by the codegen and merge-bot workflows. Must be present in **both** the Actions secret store **and** the Dependabot secret store (the merge-bot runs under Dependabot's restricted secret context on Dependabot PRs).
437+
- `CODEGEN_APP_CLIENT_ID` and `CODEGEN_APP_PRIVATE_KEY` — GitHub App credentials used by the codegen and merge-bot workflows. Must be present in **both** the Actions secret store **and** the Dependabot secret store (the merge-bot runs under Dependabot's restricted secret context on Dependabot PRs). The `_CLIENT_ID` half holds the GitHub App's Client ID (e.g. `Iv23li…`); `actions/create-github-app-token` accepts either a numeric App ID or a Client ID at its `app-id` input.
438438
- `NUGET_API_KEY` — NuGet.org API key for package publishing. Actions store only.
439439
440440
Branch protection is split across two rulesets:

0 commit comments

Comments
 (0)