Add config reset to license-scan and release (#2474)

Signed-off-by: Avgustin Marinov <Avgustin.Marinov@bosch.com>
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
This commit is contained in:
Avgustin Marinov
2025-06-19 11:44:35 +03:00
committed by GitHub
parent 2bccd86265
commit b08033814c
3 changed files with 39 additions and 2 deletions

View File

@@ -103,8 +103,9 @@ jobs:
if [ "${REVISION}" != "0-SNAPSHOT" ]; then
git config --local user.name "github-actions[bot]"
git config --local user.email "github-actions[bot]@users.noreply.github.com"
git tag -a ${REVISION} -m "Release version ${REVISION}"
git push origin ${REVISION}
git tag -a ${REVISION} -m "Release version ${REVISION}" && git push origin ${REVISION}
git config --local --unset user.name
git config --local --unset user.email
fi
env:
REVISION: ${{ github.event.inputs.revision }}