File tree Expand file tree Collapse file tree 2 files changed +57
-0
lines changed Expand file tree Collapse file tree 2 files changed +57
-0
lines changed Original file line number Diff line number Diff line change
1
+ name : Release
2
+
3
+ on :
4
+ workflow_run :
5
+ workflows :
6
+ - Test
7
+ branches :
8
+ - main
9
+ types :
10
+ - completed
11
+
12
+ jobs :
13
+ release :
14
+ runs-on : ubuntu-22.04
15
+ if : ${{ github.event.workflow_run.conclusion == 'success' }}
16
+ steps :
17
+ - name : Checkout
18
+ uses : actions/checkout@v3
19
+ with :
20
+ persist-credentials : false
21
+
22
+ - name : Semantic Release
23
+ id : semantic
24
+ uses : cycjimmy/semantic-release-action@v3
25
+ with :
26
+ extra_plugins : |
27
+ @semantic-release/[email protected]
28
+ @semantic-release/[email protected]
29
+ env :
30
+ GITHUB_TOKEN : ${{ secrets.SCRIBD_GITHUB_GENERIC_TOKEN }}
31
+
32
+ - name : Send notification
33
+ if : steps.semantic.outputs.new_release_published == 'true'
34
+ uses : scribd/job-notification@main
35
+ with :
36
+ token : ${{ secrets.SCRIBD_SLACK_GENERIC_TOKEN }}
37
+ channel : service-foundations-release
38
+ message : <https://github.com/${{ github.repository }}/tree/v${{ steps.semantic.outputs.new_release_version }}|Released version v${{ steps.semantic.outputs.new_release_version }}>
Original file line number Diff line number Diff line change
1
+ preset : angular
2
+
3
+ branches :
4
+ - main
5
+
6
+ plugins :
7
+ - " @semantic-release/commit-analyzer"
8
+ - " @semantic-release/release-notes-generator"
9
+ - - "@semantic-release/changelog"
10
+ - changelogFile : CHANGELOG.md
11
+ - - "@semantic-release/git"
12
+ - assets :
13
+ - CHANGELOG.md
14
+ message : " chore: Release version ${nextRelease.version} [skip ci]"
15
+ - - "@semantic-release/github"
16
+ - successComment : false
17
+ failComment : false
18
+ labels : false
19
+ releasedLabels : false
You can’t perform that action at this time.
0 commit comments