Skip to content

Commit

Permalink
feat: add slash commands dispatch (#11) (#12)
Browse files Browse the repository at this point in the history
* feat: add slash commands dispatch (#11)

* fix: bumped werkzeug from 3.0.0 to 3.0.1

---------

Co-authored-by: nepalevov <[email protected]>
  • Loading branch information
adubovik and nepalevov authored Nov 2, 2023
1 parent 49c64b2 commit e7177e5
Show file tree
Hide file tree
Showing 4 changed files with 31 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/pr_check_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ on:

jobs:
run_tests:
uses: epam/ai-dial-ci/.github/workflows/test_python_docker.yml@0.3.0
uses: epam/ai-dial-ci/.github/workflows/test_python_docker.yml@1.0.0
with:
bypass_checks: false
python_version: 3.11
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,5 @@ env:

jobs:
release:
uses: epam/ai-dial-ci/.github/workflows/publish_python_docker.yml@0.3.0
uses: epam/ai-dial-ci/.github/workflows/publish_python_docker.yml@1.0.0
secrets: inherit
26 changes: 26 additions & 0 deletions .github/workflows/slash-command-dispatch.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
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@a28ee6cd74d5200f99e247ebc7b365c03ae0ef3c # v3.0.1
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 }}"
]
}
]
6 changes: 3 additions & 3 deletions poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit e7177e5

Please sign in to comment.