23 lines
588 B
YAML
23 lines
588 B
YAML
name: Dispatch Command
|
|
|
|
on:
|
|
issue_comment:
|
|
types: [created]
|
|
|
|
permissions:
|
|
contents: read
|
|
|
|
jobs:
|
|
dispatch-command:
|
|
if: startsWith(github.repository, 'Homebrew/')
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Dispatch /rebase Command
|
|
uses: peter-evans/slash-command-dispatch@a28ee6cd74d5200f99e247ebc7b365c03ae0ef3c
|
|
with:
|
|
token: ${{ secrets.HOMEBREW_GITHUB_PUBLIC_REPO_TOKEN }}
|
|
reaction-token: ${{ secrets.HOMEBREW_GITHUB_PUBLIC_REPO_TOKEN }}
|
|
commands: rebase
|
|
permission: triage
|
|
issue-type: pull-request
|