mirror of
https://github.com/edgelesssys/constellation.git
synced 2024-10-01 01:36:09 -04:00
ci: only commit measurements if changes are present (#3223)
Signed-off-by: Moritz Sanft <58110325+msanft@users.noreply.github.com>
This commit is contained in:
parent
7945778d67
commit
c48995f249
8
.github/workflows/release.yml
vendored
8
.github/workflows/release.yml
vendored
@ -250,8 +250,12 @@ jobs:
|
||||
run: |
|
||||
git config --global user.name "edgelessci"
|
||||
git config --global user.email "edgelessci@users.noreply.github.com"
|
||||
git commit -m "attestation: hardcode measurements for ${VERSION}"
|
||||
git push
|
||||
if git diff-index --quiet HEAD --; then
|
||||
echo "No changes to commit"
|
||||
else
|
||||
git commit -m "attestation: hardcode measurements for ${VERSION}"
|
||||
git push
|
||||
fi
|
||||
|
||||
draft-release:
|
||||
name: Draft release (CLI)
|
||||
|
Loading…
Reference in New Issue
Block a user