Files
pezkuwi-fellows/.github/workflows/rfc-action.yml
T
Przemek Rzad f50e9c26c8 Update rfc-action to v0.0.5 (#40)
It changes the merging method from REST github API to graphql, which contains more information when failing.
2023-10-24 14:28:31 +02:00

24 lines
667 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
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 }}