File tree Expand file tree Collapse file tree 4 files changed +3242
-7
lines changed Expand file tree Collapse file tree 4 files changed +3242
-7
lines changed Original file line number Diff line number Diff line change @@ -44,13 +44,15 @@ jobs:
44
44
git config pull.rebase false
45
45
branch=automated-documentation-update-$GITHUB_RUN_ID
46
46
git checkout -b $branch
47
- _message='docs(src/all): Automated documentation update'
48
47
git add */**/README.md
49
- git commit -m "$_message [skip ci]" || export NO_UPDATES=true
48
+ git commit \
49
+ -m "docs(src/all): Automated documentation update [skip ci]" \
50
+ -m ":robot: This PR was created by a GitHub Action" \
51
+ -m "Co-authored-by: Bart Venter <bartventer@outlook.com>" || export NO_UPDATES=true
50
52
if [ "$NO_UPDATES" != "true" ] ; then
51
53
git push origin "$branch"
52
54
gh pr create \
53
- --title "$_message" \
54
- --body ":robot: Automated documentation update" \
55
+ --fill \
56
+ --assignee ${{github.actor}} \
55
57
--label "documentation"
56
58
fi
Original file line number Diff line number Diff line change @@ -18,14 +18,14 @@ jobs:
18
18
- uses : actions/checkout@v4
19
19
with :
20
20
fetch-depth : 0
21
+ - name : Setup Node.js
22
+ uses : bartventer/devcontainer-images/.github/actions/setup-node@v2.3.0
21
23
- name : Import GPG key
22
24
uses : crazy-max/ghaction-import-gpg@v6
23
25
with :
24
26
gpg_private_key : ${{ secrets.GPG_PRIVATE_KEY }}
25
27
passphrase : ${{ secrets.GPG_PASSPHRASE }}
26
28
- name : ' Run semantic-release'
27
- run : |
28
- yarn global add semantic-release@17 @semantic-release/exec
29
- semantic-release
29
+ run : yarn run semantic-release
30
30
env :
31
31
GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
Original file line number Diff line number Diff line change
1
+ {
2
+ "engines" : {
3
+ "node" : " >=22.3.0"
4
+ },
5
+ "dependencies" : {
6
+ "@semantic-release/commit-analyzer" : " ^13.0.0" ,
7
+ "@semantic-release/exec" : " ^6.0.3" ,
8
+ "@semantic-release/github" : " ^10.0.6" ,
9
+ "@semantic-release/release-notes-generator" : " ^14.0.1" ,
10
+ "semantic-release" : " 24.0.0"
11
+ }
12
+ }
You can’t perform that action at this time.
0 commit comments