Update the RFC bot/action (#29)

* Use rfc action v0.0.2

* Readme
This commit is contained in:
Przemek Rzad
2023-09-13 12:04:41 +02:00
committed by GitHub
parent 9eb463acf7
commit 9e70d54727
2 changed files with 13 additions and 7 deletions
+19
View File
@@ -0,0 +1,19 @@
name: RFC action
on:
issue_comment:
types: [created]
permissions:
pull-requests: write
contents: write
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:
- uses: paritytech/rfc-action@f7f859cf3ef3e10a4a64289f59df74c71b8de54f # v0.0.2
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}