Skip to content

Commit 4dbc57e

Browse files
committed
ci: fixes ordering of steps because you can't trust llms to do the right thing
Signed-off-by: Vincent Biret <vibiret@microsoft.com>
1 parent b7378fe commit 4dbc57e

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

.github/workflows/promote-shipped-apis.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -14,18 +14,18 @@ jobs:
1414
contents: read
1515

1616
steps:
17-
- name: Checkout code
18-
uses: actions/checkout@v6
19-
with:
20-
fetch-depth: 0
21-
token: ${{ steps.app-token.outputs.token }}
22-
2317
- name: Generate GitHub App token
2418
id: app-token
2519
uses: actions/create-github-app-token@v2
2620
with:
2721
app-id: ${{ vars.RELEASE_PLEASE_TOKEN_PROVIDER_APP_ID }}
2822
private-key: ${{ secrets.RELEASE_PLEASE_TOKEN_PROVIDER_PEM }}
23+
24+
- name: Checkout code
25+
uses: actions/checkout@v6
26+
with:
27+
fetch-depth: 0
28+
token: ${{ steps.app-token.outputs.token }}
2929

3030
- name: Configure git
3131
shell: pwsh

0 commit comments

Comments
 (0)