ci: add workflow to add new repository issues to QuickApps GitHub project #23
This file contains hidden or 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: Slash Command Dispatch | |
| on: | |
| issue_comment: | |
| types: [created] | |
| jobs: | |
| slashCommandDispatch: | |
| runs-on: ubuntu-latest | |
| if: ${{ github.event.issue.pull_request }} | |
| steps: | |
| - name: Slash Command Dispatch | |
| id: scd | |
| uses: peter-evans/slash-command-dispatch@9bdcd7914ec1b75590b790b844aa3b8eee7c683a # v5.0.2 | |
| with: | |
| token: ${{ secrets.ACTIONS_BOT_TOKEN }} | |
| reaction-token: ${{ secrets.ACTIONS_BOT_TOKEN }} | |
| config: > | |
| [ | |
| { | |
| "command": "deploy-review", | |
| "permission": "write", | |
| "issue_type": "pull-request", | |
| "repository": "epam/ai-dial-ci", | |
| "static_args": [ | |
| "application=${{ github.event.repository.name }}" | |
| ] | |
| } | |
| ] |