We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 3c18bf4 + 108c9cb commit 2710379Copy full SHA for 2710379
.github/workflows/release.yml
@@ -5,6 +5,9 @@ on:
5
tags:
6
- "v*"
7
8
+permissions:
9
+ contents: write
10
+
11
jobs:
12
publish:
13
runs-on: ubuntu-latest
@@ -20,10 +23,19 @@ jobs:
20
23
- name: Generate changelog
21
24
run: |
22
25
bundle exec rake changelog[,${TAG_NAME}] > /tmp/changelog.md
26
+ cat /tmp/changelog.md
27
env:
28
TAG_NAME: ${{ github.ref_name }}
29
30
- name: Release
31
uses: softprops/action-gh-release@v2
32
with:
33
body_path: /tmp/changelog.md
34
35
+ - name: Slack Notification (not success)
36
+ uses: act10ns/slack@v2
37
+ if: "! success()"
38
+ continue-on-error: true
39
+ with:
40
+ status: ${{ job.status }}
41
+ webhook-url: ${{ secrets.SLACK_WEBHOOK }}
0 commit comments