Skip to content

Commit c4884f9

Browse files
committed
Add slack notification for collection releases
1 parent 0d9f23d commit c4884f9

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

.github/workflows/collection-release.yml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,13 @@ jobs:
1111
runs-on: ubuntu-latest
1212
if: "contains(github.event.head_commit.message, 'Release')"
1313
steps:
14+
- uses: act10ns/slack@v1
15+
with:
16+
status: starting
17+
channel: '#collection_release'
18+
env:
19+
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }}
20+
1421
- uses: actions/checkout@v2
1522

1623
- name: Prepare Collection
@@ -60,3 +67,11 @@ jobs:
6067
asset_path: ./manala-roles-${{ steps.changelog.outputs.version }}.tar.gz
6168
asset_name: manala-roles-${{ steps.changelog.outputs.version }}.tar.gz
6269
asset_content_type: application/zip
70+
71+
- uses: act10ns/slack@v1
72+
with:
73+
status: ${{ job.status }}
74+
steps: ${{ toJson(steps) }}
75+
channel: '#collection_release'
76+
env:
77+
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }}

0 commit comments

Comments
 (0)