Skip to content

Remove the deprecated parameter and alias names in v0.12.0 #6184

Remove the deprecated parameter and alias names in v0.12.0

Remove the deprecated parameter and alias names in v0.12.0 #6184

# Support slash commands in pull requests
#
# Currently, only one slash command `format` is supported.
#
name: Slash Command Dispatch
on:
issue_comment:
types: [created]
# Add "edited" type for test purposes. Where possible, avoid using to prevent processing unnecessary events.
# types: [created, edited]
jobs:
slashCommandDispatch:
if: ${{ github.event.issue.pull_request }}
runs-on: ubuntu-latest
steps:
- name: Slash Command Dispatch
uses: peter-evans/slash-command-dispatch@v3
with:
token: ${{ secrets.GITHUB_TOKEN }}
commands: |
format
issue-type: pull-request
permission: none