feat: Replace usage of env variables with application config in app state #183
This file contains 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 | |
steps: | |
- name: Slash Command Dispatch | |
id: scd | |
uses: peter-evans/slash-command-dispatch@13bc09769d122a64f75aa5037256f6f2d78be8c4 # v4.0.0 | |
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 }}" | |
] | |
} | |
] |