Skip to content

Commit a9627b6

Browse files
committed
chore(IDX): replace token with app
1 parent c024027 commit a9627b6

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

.github/workflows/schedule-rc.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,12 +12,18 @@ jobs:
1212
runs-on: ubuntu-latest
1313
timeout-minutes: 30
1414
steps:
15+
- name: Create GitHub App Token
16+
uses: actions/create-github-app-token@v1
17+
id: app-token
18+
with:
19+
app-id: ${{ vars.PUSH_TO_RC_BRANCH_PRIVATE_KEY }}
20+
private-key: ${{ secrets.PUSH_TO_RC_BRANCH_APP_ID }}
1521
- name: Checkout
1622
uses: actions/checkout@v4
1723
with:
1824
repository: ${{ github.repository }}
1925
ref: ${{ github.ref }}
20-
token: ${{ secrets.PUSH_TO_IC }}
26+
token: ${{ steps.app-token.outputs.token }}
2127
- name: Cut Release Candidate
2228
shell: bash
2329
run: |

0 commit comments

Comments
 (0)