Skip to content

Commit 6b7cb74

Browse files
committed
ci
Signed-off-by: Jan Kowalleck <[email protected]>
1 parent 8adbc9c commit 6b7cb74

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/update_spdx_licenses.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ jobs:
4343
- name: detect changes
4444
id: diff
4545
run: |
46-
if git diff -- 'schema/spdx.*'
46+
if git diff --quiet -- 'schema/spdx.*'
4747
then
4848
echo "$GITHUB_REF_NAME is up-to-date"
4949
echo "changed=false" >> $GITHUB_OUTPUT
@@ -100,7 +100,7 @@ jobs:
100100
- name: commit and push
101101
run: |
102102
set -eux
103-
if git diff -- 'schema/spdx.*'
103+
if git diff --quiet -- 'schema/spdx.*'
104104
then
105105
git config user.name 'spdx-license-bumber[bot]'
106106
git config user.email '[email protected]'

0 commit comments

Comments
 (0)