Skip to content

Commit

Permalink
add slack bot
Browse files Browse the repository at this point in the history
  • Loading branch information
russbiggs committed Feb 4, 2025
1 parent 0fe61c3 commit 5d38e05
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/release-bot.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
on:
push:
branches: [develop]
release:
types: [published]
workflow_dispatch:

name: release-bot.yaml
Expand All @@ -19,5 +19,5 @@ jobs:
webhook: ${{ secrets.SLACK_WEBHOOK_URL }}
webhook-type: incoming-webhook
payload: |
text: "*GitHub Action build result*: ${{ job.status }}"
text: "*New OpenAQ R Package Release ${{ github.event.release.tag_name }}*: Read the changelog at [https://github.com/openaq/openaq-r/releases/tag/${{ github.event.release.tag_name }}](https://github.com/openaq/openaq-r/releases/tag/${{ github.event.release.tag_name }})"

0 comments on commit 5d38e05

Please sign in to comment.