File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ // SPDX-FileCopyrightText: 2025 Deutsche Telekom AG
2+ //
3+ // SPDX-License-Identifier: Apache-2.0
4+
5+ export default {
6+ branches : [ 'main' ] ,
7+ tagFormat : '${version}' ,
8+ repositoryUrl : 'git@github.com:telekom/identity-iris-keycloak-image.git' ,
9+ plugins : [
10+ '@semantic-release/commit-analyzer' ,
11+ 'semantic-release-export-data' ,
12+ '@semantic-release/release-notes-generator' ,
13+ [
14+ '@semantic-release/changelog' ,
15+ {
16+ "changelogFile" : "CHANGELOG.md"
17+ }
18+ ] ,
19+ [
20+ '@semantic-release/git' ,
21+ {
22+ "assets" : [ "CHANGELOG.md" ] ,
23+ "message" : "chore(release): ${nextRelease.version} [skip actions]\n\n${nextRelease.notes}"
24+ }
25+ ] ,
26+ '@semantic-release/github'
27+ ]
28+ } ;
Original file line number Diff line number Diff line change 1+ # SPDX-FileCopyrightText: 2025 Deutsche Telekom AG
2+ #
3+ # SPDX-License-Identifier: Apache-2.0
4+
5+ name : Release
6+ on :
7+ workflow_dispatch :
8+ inputs :
9+ do_release :
10+ description : " Do you want to trigger the release?"
11+ required : true
12+ default : " no"
13+ type : choice
14+ options :
15+ - " yes"
16+ - " no"
17+
18+ jobs :
19+ release :
20+ if : ${{ github.ref == 'refs/heads/action-release' }}
21+ runs-on : ubuntu-latest
22+ permissions :
23+ contents : write
24+ issues : write
25+ pull-requests : write
26+ outputs :
27+ new-release-published : ${{ steps.dry-run.outputs.new-release-published }}
28+ new-release-version : ${{ steps.dry-run.outputs.new-release-version }}
29+ steps :
30+ - name : Checkout code
31+ uses : actions/checkout@v4
32+ with :
33+ fetch-depth : 0
34+ fetch-tags : ' true'
35+ - name : Set up Node.js
36+ uses : actions/setup-node@v4
37+ with :
38+ node-version : 22
39+ - name : Install dependencies
40+ run : |
41+ npm install @semantic-release/commit-analyzer
42+ npm install semantic-release-export-data
43+ npm install @semantic-release/release-notes-generator
44+ npm install @semantic-release/changelog
45+ npm install @semantic-release/github
46+ npm install @semantic-release/git
47+ - name : Run Dry Run Semantic Release
48+ id : dry-run
49+ env :
50+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
51+ run : npx semantic-release --dry-run --extends ./.github/config/release.js
52+ - name : Run Semantic Release
53+ env :
54+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
55+ run : npx semantic-release --extends ./.github/config/release.js
You can’t perform that action at this time.
0 commit comments