Files
.github
workflows
automerge-dependabot.yml
ci.yml
cpr-example-command.yml
slash-command-dispatch.yml
update-major-version.yml
FUNDING.yml
ISSUE_TEMPLATE.md
dependabot.yml
__test__
dist
docs
src
.eslintignore
.eslintrc.json
.gitignore
.prettierignore
.prettierrc.json
LICENSE
README.md
action.yml
jest.config.js
package-lock.json
package.json
tsconfig.json
create-pull-request/.github/workflows/slash-command-dispatch.yml
2025-02-21 04:13:11 -08:00

38 lines
1.1 KiB
YAML

name: Slash Command Dispatch
on:
issue_comment:
types: [created]
jobs:
slashCommandDispatch:
runs-on: ubuntu-latest
steps:
- name: Slash Command Dispatch
uses: peter-evans/slash-command-dispatch@v4
with:
token: ${{ secrets.ACTIONS_BOT_TOKEN }}
config: >
[
{
"command": "test",
"permission": "admin",
"repository": "peter-evans/create-pull-request-tests",
"named_args": true
},
{
"command": "clean",
"permission": "admin",
"repository": "peter-evans/create-pull-request-tests"
},
{
"command": "cpr-example",
"permission": "admin",
"issue_type": "issue"
},
{
"command": "rebase",
"permission": "admin",
"repository": "peter-evans/slash-command-dispatch-processor",
"issue_type": "pull-request"
}
]