Patch to RD-10677: Changed config setup for default values. Also turned SQLConnectionPool to a RawService #277
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: Pull Request ChatOps | |
on: | |
issue_comment: | |
types: [created] | |
jobs: | |
publish-slash-command-dispatch: | |
runs-on: self-hosted | |
if: | | |
startsWith(github.event.comment.body, '/') && | |
endsWith(github.event.comment.body, 'publish') | |
steps: | |
# publish | |
- uses: peter-evans/slash-command-dispatch@v3 | |
id: deliver | |
with: | |
commands: publish | |
event-type-suffix: '' | |
token: ${{ secrets.RAW_CI_PAT }} | |
- name: edit comment with error message | |
if: steps.deliver.outputs.error-message | |
uses: peter-evans/create-or-update-comment@v2 | |
with: | |
comment-id: ${{ github.event.comment.id }} | |
body: | | |
> ${{ steps.deliver.outputs.error-message }} |