Update rfc-action.yml (#39)

This commit is contained in:
Przemek Rzad
2023-10-23 14:56:57 +02:00
committed by GitHub
parent 6f24026cca
commit 58d7c0e634
+8 -2
View File
@@ -12,6 +12,12 @@ jobs:
if: ${{ github.event.issue.pull_request && startsWith(github.event.comment.body, '/rfc') }}
runs-on: ubuntu-latest
steps:
- name: Generate a token
id: generate_token
uses: actions/create-github-app-token@v1
with:
app_id: ${{ secrets.RFC_BOT_APP_ID }}
private_key: ${{ secrets.RFC_BOT_PRIVATE_KEY }}
- uses: paritytech/rfc-action@c8b00e2264712a7093a5b64c6ffd2298b49d41cf # v0.0.4
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
env:
GH_TOKEN: ${{ steps.generate_token.outputs.token }}