Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: slack notifier #404

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
39 changes: 39 additions & 0 deletions .github/workflows/build-release-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -123,6 +123,21 @@ jobs:
asset_name: ${{ env.zip_file }}
asset_content_type: application/zip

- name: Slack notification on publish
if: success()
uses: rtCamp/action-slack-notify@v2
env:
SLACK_WEBHOOK: ${{ secrets.SLACK_WEBHOOK }}
SLACK_COLOR: 0CAD34
SLACK_TITLE: [TEST] New release published by ${{ github.event.actor.display_login }}
SLACK_MESSAGE: |
Release - ${{ github.event.release.tag_name }}
${{ github.event.release.body }}
SLACK_FOOTER: ''
SLACK_USERNAME: QABot
SLACK_CHANNEL: squad-account
SLACK_ICON: https://avatars.githubusercontent.com/u/56089550?s=48&v=4

upload_release_asset_preprod:
name: Upload the preprod zip asset to the release
runs-on: ubuntu-latest
Expand Down Expand Up @@ -197,3 +212,27 @@ jobs:
--debug
env:
MARKETPLACE_API_KEY: ${{ secrets.MARKETPLACE_API_KEY }}

# New release published by hschoenenberger
#Release - v7.0.1
#What's Changed
#• [ACCOUNT-2378] feat: reboot sentry by @hschoenenberger in #389
#• [ACCOUNT-2387] fix: duplicate upgrade module by @hschoenenberger in #390
#• [ACCOUNT-2335] refactor: add index files at bundle time & remove index files from repo by @hschoenenberger in #387
#• fix: github release workflow by @hschoenenberger in #391
#Full Changelog: v7.0.0...v7.0.1

# - name: Slack notification on publish
# if: success()
# uses: rtCamp/action-slack-notify@v2
# env:
# SLACK_WEBHOOK: ${{ secrets.SLACK_WEBHOOK }}
# SLACK_COLOR: 0CAD34
# SLACK_TITLE: New release published by ${{ github.event.actor.display_login }}
# SLACK_MESSAGE: |
# Release - ${{ github.event.release.tag_name }}
# ${{ github.event.release.body }}
# SLACK_FOOTER: ''
# SLACK_USERNAME: QABot
# SLACK_CHANNEL: squad-account
# SLACK_ICON: https://avatars.githubusercontent.com/u/56089550?s=48&v=4
Loading