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 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@58bf9d7446e85cf2a95a1600cb3616f90c3b3913 # v0.0.5 env: GH_TOKEN: ${{ steps.generate_token.outputs.token }}