Skip to content

Commit 58d7c0e

Browse files
authored
Update rfc-action.yml (#39)
1 parent 6f24026 commit 58d7c0e

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

.github/workflows/rfc-action.yml

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,12 @@ jobs:
1212
if: ${{ github.event.issue.pull_request && startsWith(github.event.comment.body, '/rfc') }}
1313
runs-on: ubuntu-latest
1414
steps:
15+
- name: Generate a token
16+
id: generate_token
17+
uses: actions/create-github-app-token@v1
18+
with:
19+
app_id: ${{ secrets.RFC_BOT_APP_ID }}
20+
private_key: ${{ secrets.RFC_BOT_PRIVATE_KEY }}
1521
- uses: paritytech/rfc-action@c8b00e2264712a7093a5b64c6ffd2298b49d41cf # v0.0.4
16-
env:
17-
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
22+
env:
23+
GH_TOKEN: ${{ steps.generate_token.outputs.token }}

0 commit comments

Comments
 (0)