Enforce only one transaction per notification #69
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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/timeout-minutes | |
env: | |
GH_TOKEN: ${{ steps.generate_token.outputs.token }} |