Allows to easily run Rodney Bot.
name: RodBot
on:
issue_comment: {}
jobs:
rodbot:
runs-on: ubuntu-20.04
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
steps:
- name: Checkout
uses: actions/checkout@v2
- uses: ctron/rodbot-action@v0.1.1With rodbot.yaml in the root of your repository:
on:
issue_comment:
- if:
- command: "test"
- user_is: ["MEMBER", "OWNER"]
- is_pr
steps:
- run: |
gh pr comment ${{ github.event.issue.number }} -b "Aye, aye, captain!"