mirror of
https://github.com/edgelesssys/constellation.git
synced 2025-08-12 00:40:25 -04:00
ci: only commit measurements if changes are present
Signed-off-by: Moritz Sanft <58110325+msanft@users.noreply.github.com>
This commit is contained in:
parent
7945778d67
commit
7bb13e6cdb
1 changed files with 6 additions and 2 deletions
8
.github/workflows/release.yml
vendored
8
.github/workflows/release.yml
vendored
|
@ -250,8 +250,12 @@ jobs:
|
||||||
run: |
|
run: |
|
||||||
git config --global user.name "edgelessci"
|
git config --global user.name "edgelessci"
|
||||||
git config --global user.email "edgelessci@users.noreply.github.com"
|
git config --global user.email "edgelessci@users.noreply.github.com"
|
||||||
git commit -m "attestation: hardcode measurements for ${VERSION}"
|
if git diff-index --quiet HEAD --; then
|
||||||
git push
|
echo "No changes to commit"
|
||||||
|
else
|
||||||
|
git commit -m "attestation: hardcode measurements for ${VERSION}"
|
||||||
|
git push
|
||||||
|
fi
|
||||||
|
|
||||||
draft-release:
|
draft-release:
|
||||||
name: Draft release (CLI)
|
name: Draft release (CLI)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue