Skip to content

Slash Command Dispatch #105

Slash Command Dispatch

Slash Command Dispatch #105

name: Slash Command Dispatch
on:
issue_comment:
types: [created]
env:
AIRBYTE_ANALYTICS_ID: ${{ vars.AIRBYTE_ANALYTICS_ID }}
jobs:
slashCommandDispatch:
runs-on: ubuntu-latest
steps:
- name: Slash Command Dispatch
uses: peter-evans/slash-command-dispatch@v4
with:
repository: ${{ github.repository }}
token: ${{ secrets.GITHUB_TOKEN }}
issue-type: pr
commands: |
autofix
test-pr
static-args: |
pr=${{ github.event.issue.number }}
# Only run for users with 'write' permission on the main repository
permission: write