File tree Expand file tree Collapse file tree 2 files changed +17
-2
lines changed Expand file tree Collapse file tree 2 files changed +17
-2
lines changed Original file line number Diff line number Diff line change 45
45
tag-commit :
46
46
if : ${{ ( github.event.inputs.delete_existing_tag_release == 'true' && success() ) || ( github.event.inputs.delete_existing_tag_release == 'false' && always() ) }}
47
47
needs : clean-existing-tag-and-release
48
- name : Tag commit
48
+ name : Generate SBOM and tag commit
49
49
runs-on : ubuntu-latest
50
50
steps :
51
51
- name : Checkout code
54
54
ref : ${{ github.event.inputs.commit_id }}
55
55
- name : Configure git identity
56
56
run : |
57
- git config --global user.name "Release Workflow"
57
+ git config --global user.name ${{ github.actor }}
58
+ git config --global user.email ${{ github.actor }}@users.noreply.github.com
59
+ - name : create a new branch that references commit id
60
+ run : git checkout -b ${{ github.event.inputs.version_number }} ${{ github.event.inputs.commit_id }}
61
+ - name : Generate SBOM
62
+ uses : FreeRTOS/CI-CD-Github-Actions/sbom-generator@main
63
+ with :
64
+ repo_path : ./
65
+ source_path : ./source
66
+ - name : commit SBOM file
67
+ run : |
68
+ git add .
69
+ git commit -m 'Update SBOM'
70
+ git push -u origin ${{ github.event.inputs.version_number }}
58
71
- name : Tag Commit and Push to remote
59
72
run : |
60
73
git tag ${{ github.event.inputs.version_number }} -a -m "coreMQTT-Agent Library ${{ github.event.inputs.version_number }}"
Original file line number Diff line number Diff line change @@ -6,13 +6,15 @@ license: "MIT"
6
6
dependencies :
7
7
- name : " coreMQTT"
8
8
version : " v2.3.1"
9
+ license : " MIT"
9
10
repository :
10
11
type : " git"
11
12
url : " https://github.com/FreeRTOS/coreMQTT/"
12
13
path : source/dependency/coreMQTT
13
14
14
15
- name : " CMock"
15
16
version : " v2.5.3"
17
+ license : " MIT"
16
18
repository :
17
19
type : " git"
18
20
url : " https://github.com/ThrowTheSwitch/CMock.git"
You can’t perform that action at this time.
0 commit comments