Skip to content

Commit 3ed60f8

Browse files
authored
Update release.yml
1 parent f6cc428 commit 3ed60f8

File tree

1 file changed

+7
-6
lines changed

1 file changed

+7
-6
lines changed

.github/workflows/release.yml

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -22,10 +22,12 @@ jobs:
2222
with:
2323
fetch-depth: 0
2424

25-
- name: ⚙️ Setup CI GIT
26-
run: |
27-
git config user.name "github-actions[bot]"
28-
git config user.email [email protected]
25+
- name: ⚙️ Import GPG key
26+
id: import_gpg
27+
uses: crazy-max/ghaction-import-gpg@v3
28+
with:
29+
gpg-private-key: ${{ secrets.BUNIT_BOT_GPG_PRIVATE_KEY }}
30+
passphrase: ${{ secrets.BUNIT_BOT_GPG_KEY_PASSPHRASE }}
2931

3032
- name: ⚙️ Setup GIT versioning
3133
uses: dotnet/[email protected]
@@ -51,7 +53,6 @@ jobs:
5153
id: changelog_reader
5254
uses: mindsers/changelog-reader-action@v2
5355
with:
54-
validation_depth: 10
5556
version: ${{ env.NBGV_SimpleVersion }}
5657
path: ./CHANGELOG.md
5758

@@ -69,7 +70,7 @@ jobs:
6970
- name: 🛠️ Commit CHANGELOG.md to stable branch
7071
run: |
7172
git add CHANGELOG.md
72-
git commit --message "Updated CHANGELOG.md for ${{ env.NBGV_SimpleVersion }} release"
73+
git commit -S -m "Updated CHANGELOG.md for ${{ env.NBGV_SimpleVersion }} release"
7374
git push origin stable
7475
7576
- name: ⏩ Merge stable with main

0 commit comments

Comments
 (0)