Election mechanism for invulnerable collators on system chains #830
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] | |
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 | |
timeout-minutes: 5 | |
steps: | |
- name: Generate a token | |
id: generate_token | |
uses: actions/[email protected] | |
with: | |
app-id: ${{ secrets.RFC_BOT_APP_ID }} | |
private-key: ${{ secrets.RFC_BOT_PRIVATE_KEY }} | |
- uses: paritytech/rfc-action@2fd06c94cc98b4f66f37a35f25d6a69515e4d49f # v0.1.1 | |
env: | |
GH_TOKEN: ${{ steps.generate_token.outputs.token }} |