We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 57a00bc commit df0cff6Copy full SHA for df0cff6
.github/workflows/update_spdx_licenses.yml
@@ -100,11 +100,15 @@ jobs:
100
- name: commit and push
101
run: |
102
set -eux
103
- git add -A schema
104
- git config user.name "spdx-license-bumber[bot]"
105
- git config user.email "[email protected]"
106
- if git commit -s m "feat: bump SPDX licenses $SB_VERSION" || echo "was up to date"
107
- git push origin "$SB_BRANCH"
+
+ git config user.name 'spdx-license-bumber[bot]'
+ git config user.email '[email protected]'
+ if git diff --quiet -- 'schema/spdx.*'
+ then
108
+ git add -A schema
109
+ git commit -s m "feat: bump SPDX licenses $SB_VERSION"
110
+ git push origin "$SB_BRANCH"
111
+ fi
112
- name: pullrequest
113
if: ${{ steps.branch.outputs.existed == 'false' }}
114
run: >
0 commit comments