Skip to content

Commit cf91072

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

File tree

1 file changed

+8
-6
lines changed

1 file changed

+8
-6
lines changed

.github/workflows/update_spdx_licenses.yml

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -102,12 +102,14 @@ jobs:
102102
set -eux
103103
if git diff --quiet -- 'schema/spdx.*'
104104
then
105-
git config user.name 'spdx-license-bumber[bot]'
106-
git config user.email '[email protected]'
107-
git add -A schema
108-
git commit -s m "feat: bump SPDX licenses $SB_VERSION"
109-
git push origin "$SB_BRANCH"
110-
fi
105+
echo "branch up-to-date"
106+
exit 0
107+
else
108+
git config user.name 'spdx-license-bumber[bot]'
109+
git config user.email '[email protected]'
110+
git add -A schema
111+
git commit -s m "feat: bump SPDX licenses $SB_VERSION"
112+
git push origin "$SB_BRANCH"
111113
- name: pullrequest
112114
if: ${{ steps.branch.outputs.existed == 'false' }}
113115
run: >

0 commit comments

Comments
 (0)