Skip to content

Commit 68a36e0

Browse files
authored
Switch to actions/create-github-app-token (#1323)
1 parent 571b0e9 commit 68a36e0

2 files changed

Lines changed: 6 additions & 6 deletions

File tree

.github/workflows/pull-request.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -133,11 +133,11 @@ jobs:
133133
# <https://github.com/peter-evans/create-pull-request/blob/main/docs/concepts-guidelines.md#authenticating-with-github-app-generated-tokens>
134134
# The bot can also be set up for personal forks of this repository, for testing
135135
# and debugging, see <https://github.com/apps/gap-package-distribution-bot>.
136-
- uses: tibdex/github-app-token@v2
136+
- uses: actions/create-github-app-token@v3
137137
id: generate-token
138138
with:
139-
app_id: ${{ secrets.APP_ID }}
140-
private_key: ${{ secrets.APP_PRIVATE_KEY }}
139+
client-id: ${{ secrets.APP_ID }}
140+
private-key: ${{ secrets.APP_PRIVATE_KEY }}
141141

142142
# TODO: extra work is needed to make the following work with pull requests
143143
# that come from forks of this repository.

.github/workflows/scan-for-updates.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -150,11 +150,11 @@ jobs:
150150
# <https://github.com/peter-evans/create-pull-request/blob/main/docs/concepts-guidelines.md#authenticating-with-github-app-generated-tokens>
151151
# The bot can also be set up for personal forks of this repository, for testing
152152
# and debugging, see <https://github.com/apps/gap-package-distribution-bot>.
153-
- uses: tibdex/github-app-token@v2
153+
- uses: actions/create-github-app-token@v3
154154
id: generate-token
155155
with:
156-
app_id: ${{ secrets.APP_ID }}
157-
private_key: ${{ secrets.APP_PRIVATE_KEY }}
156+
client-id: ${{ secrets.APP_ID }}
157+
private-key: ${{ secrets.APP_PRIVATE_KEY }}
158158

159159
- uses: peter-evans/create-pull-request@v8
160160
with:

0 commit comments

Comments
 (0)