File tree Expand file tree Collapse file tree 2 files changed +19
-6
lines changed Expand file tree Collapse file tree 2 files changed +19
-6
lines changed Original file line number Diff line number Diff line change 11
11
required : true
12
12
13
13
jobs :
14
- tag-commit :
14
+ generate-sbom-and- tag-commit :
15
15
name : Tag commit
16
16
runs-on : ubuntu-latest
17
17
steps :
21
21
ref : ${{ github.event.inputs.commit_id }}
22
22
- name : Configure git identity
23
23
run : |
24
- git config --global user.name "Release Workflow"
24
+ git config --global user.name ${{ github.actor }}
25
+ git config --global user.email ${{ github.actor }}@users.noreply.github.com
26
+ - name : create a new branch that references commit id
27
+ run : git checkout -b ${{ github.event.inputs.version_number }} ${{ github.event.inputs.commit_id }}
28
+ - name : Generate SBOM
29
+ uses : FreeRTOS/CI-CD-Github-Actions/sbom-generator@main
30
+ with :
31
+ repo_path : ./
32
+ source_path : ./source
33
+ - name : commit SBOM file
34
+ run : |
35
+ git add .
36
+ git commit -m 'Update SBOM'
37
+ git push -u origin ${{ github.event.inputs.version_number }}
25
38
- name : Tag Commit and Push to remote
26
39
run : |
27
40
git tag ${{ github.event.inputs.version_number }} -a -m "coreHTTP Library ${{ github.event.inputs.version_number }}"
Original file line number Diff line number Diff line change 1
1
name : " coreHTTP"
2
2
version : " v2.1.0"
3
- description : |
4
- "Client implementation of the HTTP/1.1 specification for embedded devices.\n "
3
+ description : " Client implementation of the HTTP/1.1 specification for embedded devices. "
4
+ license : " MIT "
5
5
dependencies :
6
6
- name : " llhttp"
7
7
version : " release/v6.0.5"
8
+ license : " MIT"
8
9
repository :
9
10
type : " git"
10
- url : " https://github.com/nodejs/llhttp"
11
- license : " MIT"
11
+ url : " https://github.com/nodejs/llhttp.git"
You can’t perform that action at this time.
0 commit comments