Skip to content

create

create #62

Workflow file for this run

name: RFC action
on:
issue_comment:
types: [created]
jobs:
rfc-action:
name: Handle an RFC-relate command in a RFC proposal PR
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@rzadp/print
env:
GH_TOKEN: ${{ steps.generate_token.outputs.token }}