Skip to content

HCK-7928: ScyllaDB deactivated view fields are not commented out in F… #8

HCK-7928: ScyllaDB deactivated view fields are not commented out in F…

HCK-7928: ScyllaDB deactivated view fields are not commented out in F… #8

#https://docs.github.com/en/webhooks/webhook-events-and-payloads#push
name: notify-push
on:
push:
branches:
- develop
jobs:
notify:
runs-on: ubuntu-latest
env:
AUTHOR: ${{ github.event.pusher.name }}
COMMIT_PUSH_SOURCE: ${{ secrets.COMMIT_PUSH_SOURCE }}
steps:
- name: notify slack
id: slack
if: ${{ env.AUTHOR == env.COMMIT_PUSH_SOURCE }}
uses: slackapi/[email protected]
with:
channel-id: 'develop-direct-pushes'
payload: |
{
"text": " ${{ github.event.head_commit.url }}",
"blocks": [
{
"type": "section",
"text": {
"type": "mrkdwn",
"text": "Push: ${{ github.event.head_commit.url }}"
}
}
]
}
env:
SLACK_BOT_TOKEN: ${{ secrets.SLACK_BOT_TOKEN }}