Skip to content

Commit 4390d8f

Browse files
chore: update deploy review workflow (#64)
1 parent c7bbd1b commit 4390d8f

2 files changed

Lines changed: 31 additions & 187 deletions

File tree

.github/workflows/deploy-review.yml

Lines changed: 0 additions & 187 deletions
This file was deleted.
Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
name: Slash Command Dispatch
2+
on:
3+
issue_comment:
4+
types: [created]
5+
jobs:
6+
slashCommandDispatch:
7+
runs-on: ubuntu-latest
8+
if: |
9+
github.event.issue.pull_request &&
10+
github.event.issue.state == 'open'
11+
steps:
12+
- name: Slash Command Dispatch
13+
id: scd
14+
uses: peter-evans/slash-command-dispatch@9bdcd7914ec1b75590b790b844aa3b8eee7c683a # v5.0.2
15+
with:
16+
token: ${{ secrets.ACTIONS_BOT_TOKEN }}
17+
reaction-token: ${{ secrets.ACTIONS_BOT_TOKEN }}
18+
config: >
19+
[
20+
{
21+
"command": "deploy-review",
22+
"permission": "write",
23+
"issue_type": "pull-request",
24+
"repository": "epam/ai-dial-ci",
25+
"static_args": [
26+
"application=${{ github.event.repository.name }}",
27+
"environment=statgpt-review",
28+
"skip-e2e"
29+
]
30+
}
31+
]

0 commit comments

Comments
 (0)