Skip to content

Commit

Permalink
ROX-20385: Slack notification workflow (#154)
Browse files Browse the repository at this point in the history
  • Loading branch information
parametalol authored Oct 30, 2023
1 parent 94d5c72 commit a65b6e5
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions .github/workflows/slack.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: Notify on push to production
on:
push:
branches: ['production']

jobs:
slack:
name: Slack
runs-on: ubuntu-latest
steps:
- name: Post to Slack about push to production
env:
SLACK_BOT_TOKEN: ${{ secrets.SLACK_BOT_TOKEN }}
uses: slackapi/[email protected]
with:
channel-id: 'C04CV2JKV16' #forum-acs-cs-release
payload: >-
{ "text":
":warning: <${{ github.event.compare }}|Something>
has been pushed to the `${{ github.ref_name }}` branch of
<${{ github.server_url }}/${{ github.repository }}|${{ github.repository }}>."
}

0 comments on commit a65b6e5

Please sign in to comment.