[Feat] Add support for Roles v4 API #581
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: 'Ok-To-Test' | |
on: [issue_comment] | |
jobs: | |
Trigger-Dispatch-Event: | |
runs-on: ubuntu-latest | |
if: ${{ github.event.issue.pull_request }} | |
steps: | |
- run: echo "🎉 The job was automatically triggered by a ${{ github.event_name }} event." | |
- name: Slash Command Dispatch | |
uses: peter-evans/slash-command-dispatch@v1 | |
with: | |
token: ${{ secrets.PAT }} # PAT or OAuth token will also work | |
issue-type: pull-request | |
commands: ok-to-test | |
permission: write | |
- run: echo "🍏 This job's status is ${{ job.status }}." |