Skip to content

Commit 7f36f44

Browse files
authored
Merge pull request #2741 from microsoft/ci/auth-token
ci/auth token
2 parents 8a7e7bb + c3ddbfd commit 7f36f44

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

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

Lines changed: 7 additions & 7 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
@@ -92,7 +92,7 @@ jobs:
9292
if: steps.check_changes.outputs.has_changes == 'true'
9393
shell: pwsh
9494
run: |
95-
git add *Shipped.txt
95+
git add *hipped.txt
9696
git commit -m "chore: promote shipped APIs"
9797
9898
$branch = "${{ github.ref_name }}"

0 commit comments

Comments
 (0)