mirror of
https://github.com/pezkuwichain/pezkuwi-fellows.git
synced 2026-06-17 05:21:02 +00:00
f50e9c26c8
It changes the merging method from REST github API to graphql, which contains more information when failing.
24 lines
667 B
YAML
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 }}
|