Skip to content

Commit 2750431

Browse files
authored
Add Slack announcement to nginxcommunity (#292)
This will send a message to the `#announcements` channel on release.
1 parent 898bf82 commit 2750431

File tree

2 files changed

+7
-0
lines changed

2 files changed

+7
-0
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -126,6 +126,7 @@ jobs:
126126
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
127127
GOPATH: ${{ steps.go.outputs.go_path }}
128128
HOMEBREW_TAP_GITHUB_TOKEN: ${{ secrets.NGINX_PAT }}
129+
SLACK_WEBHOOK: ${{ secrets.SLACK_WEBHOOK_COMMUNITY }}
129130
- name: Push to Dockerhub
130131
uses: docker/build-push-action@v3
131132
with:

.goreleaser.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,3 +62,9 @@ brews:
6262
commit_author:
6363
name: nginx-bot
6464
65+
66+
announce:
67+
slack:
68+
enabled: true
69+
channel: '#announcements'
70+
message_template: 'NGINX Prometheus Exporter {{ .Tag }} is out! Check it out: {{ .ReleaseURL }}'

0 commit comments

Comments
 (0)