Skip to content

Commit 7987861

Browse files
authored
ci: use official create-github-app-token action (#2499)
We should use the official action for retrieving the token to use for the issue/PR triage and dependency update workflows instead of the one we were using before.
1 parent e38020a commit 7987861

File tree

3 files changed

+9
-9
lines changed

3 files changed

+9
-9
lines changed

.github/workflows/labeler.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,10 +34,10 @@ jobs:
3434
echo "${event_json}"
3535
- name: Generate temp GITHUB_TOKEN
3636
id: create_token
37-
uses: tibdex/github-app-token@v2
37+
uses: actions/create-github-app-token@v2
3838
with:
39-
app_id: ${{ secrets.BOT_APP_ID }}
40-
private_key: ${{ secrets.BOT_APP_KEY }}
39+
app-id: ${{ secrets.BOT_APP_ID }}
40+
private-key: ${{ secrets.BOT_APP_KEY }}
4141
- name: Checkout parent repository
4242
uses: actions/checkout@v4
4343
- name: Install Python 3.11

.github/workflows/reusable-pip-compile.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -42,10 +42,10 @@ jobs:
4242
steps:
4343
- name: Generate temp GITHUB_TOKEN
4444
id: create_token
45-
uses: tibdex/github-app-token@v2
45+
uses: actions/create-github-app-token@v2
4646
with:
47-
app_id: ${{ secrets.BOT_APP_ID }}
48-
private_key: ${{ secrets.BOT_APP_KEY }}
47+
app-id: ${{ secrets.BOT_APP_ID }}
48+
private-key: ${{ secrets.BOT_APP_KEY }}
4949
- name: Check out repo
5050
uses: actions/checkout@v4
5151
with:

.github/workflows/tag.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,10 +20,10 @@ jobs:
2020
steps:
2121
- name: Generate temp GITHUB_TOKEN
2222
id: create_token
23-
uses: tibdex/github-app-token@v2
23+
uses: actions/create-github-app-token@v2
2424
with:
25-
app_id: ${{ secrets.BOT_APP_ID }}
26-
private_key: ${{ secrets.BOT_APP_KEY }}
25+
app-id: ${{ secrets.BOT_APP_ID }}
26+
private-key: ${{ secrets.BOT_APP_KEY }}
2727
- name: Check out us
2828
uses: actions/checkout@v4
2929
with:

0 commit comments

Comments
 (0)