File tree Expand file tree Collapse file tree 2 files changed +7
-8
lines changed Expand file tree Collapse file tree 2 files changed +7
-8
lines changed Original file line number Diff line number Diff line change @@ -33,14 +33,14 @@ jobs:
3333 java-version : ' 21'
3434 distribution : ' zulu'
3535 java-package : jdk
36- - name : update
36+ - name : Update SPDX
3737 run : tools/updateSpdx.sh
3838 - name : detect version
3939 id : version
4040 run : |
4141 value=$( jq -r '.["$comment"]' schema/spdx.schema.json )
4242 echo "version=$value" >> $GITHUB_OUTPUT
43- - name : detect changes
43+ - name : Detect changes
4444 id : diff
4545 run : |
4646 if git diff --quiet -- 'schema/spdx.*'
7777 uses : actions/checkout@v5
7878 with :
7979 ref : ${{ github.ref_name }}
80- - name : switch branch
80+ - name : Switch branch
8181 id : branch
8282 run : |
8383 set -eux
@@ -97,21 +97,20 @@ jobs:
9797 with :
9898 name : schema-spdx
9999 path : schema
100- - name : commit and push
100+ - name : Commit and push
101101 run : |
102102 set -eux
103- git status
104103 if git diff --quiet -- 'schema/spdx.*'
105104 then
106105 echo "branch up-to-date"
107106 exit 0
108- else
107+ fi
109108 git config user.name 'spdx-license-bumber[bot]'
110109 git config user.email '[email protected] ' 111110 git add -A schema
112111 git commit -s m "feat: bump SPDX licenses $SB_VERSION"
113112 git push origin "$SB_BRANCH"
114- - name : pullrequest
113+ - name : Pull request
115114 if : ${{ steps.branch.outputs.existed == 'false' }}
116115 run : >
117116 gh pr create
Original file line number Diff line number Diff line change 11{
22 "$schema" : " http://json-schema.org/draft-07/schema#" ,
33 "$id" : " http://cyclonedx.org/schema/spdx.schema.json" ,
4- "$comment" : " v1.0-3.23" ,
4+ "$comment" : " v1.0-3.23-foo " ,
55 "type" : " string" ,
66 "enum" : [
77 " 0BSD" ,
You can’t perform that action at this time.
0 commit comments