Skip to content

Ok To Test

Ok To Test #63

Workflow file for this run

# If someone with write access comments "/ok-to-test" on a pull request, emit a repository_dispatch event
# Based on: https://github.com/imjohnbo/ok-to-test/
name: Ok To Test
on:
issue_comment:
types: [created]
jobs:
ok-to-test:
runs-on: ubuntu-latest
permissions:
pull-requests: write
# Only run for PRs, not issue comments
if: ${{ github.event.issue.pull_request }}
steps:
- name: Slash Command Dispatch
uses: peter-evans/slash-command-dispatch@v4
with:
token: ${{ secrets.GH_TOKEN }}
issue-type: pull-request
commands: ok-to-test
permission: write