Files
pezkuwi-fellows/.github/workflows/rfc-action.yml
T
Przemek Rzad ade390b5ef Update rfc-action to v0.0.6 (#64)
Contains improved error handling as a response to [this
failure](https://github.com/polkadot-fellows/RFCs/pull/56#issuecomment-1869403989).
2024-01-09 14:54:26 +00:00

25 lines
690 B
YAML

name: RFC action
on:
issue_comment:
types: [created]
permissions: write-all
jobs:
rfc-action:
name: Handle an RFC-related command
if: ${{ github.event.issue.pull_request && startsWith(github.event.comment.body, '/rfc') }}
runs-on: ubuntu-latest
timeout-minutes: 5
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@c673cf6776a2f266c7d8cbb29bc2159bea2cdd78 # v0.0.6
env:
GH_TOKEN: ${{ steps.generate_token.outputs.token }}