From 670fe2cfc0aa40eee32c1694b7c2c62150d8ee3f Mon Sep 17 00:00:00 2001 From: Vincent Gramer Date: Thu, 9 Dec 2021 21:49:13 +0100 Subject: [PATCH] Sign commit and restrict test (#117) * hack/create_or_update_release_notes_pr.sh: sign commit to pass DTO check * don't run test for update-release-notes branch this branch is used to update changloag when pr is merged so we don't need to run tests against this branch Signed-off-by: Vincent Gramer --- .github/workflows/test.yml | 1 + hack/create_or_update_release_notes_pr.sh | 4 +++- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index da41dec..98919f8 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -8,6 +8,7 @@ on: branches: [ master ] pull_request: branches: [ master ] + paths-ignore: [ CHANGELOG.md ] jobs: check-license: diff --git a/hack/create_or_update_release_notes_pr.sh b/hack/create_or_update_release_notes_pr.sh index 03b5e66..07d9668 100755 --- a/hack/create_or_update_release_notes_pr.sh +++ b/hack/create_or_update_release_notes_pr.sh @@ -60,7 +60,9 @@ fi git add CHANGELOG.md -git commit -m "update changelog with new version" + +# commit must be signed to pass DTO check +git commit -s -m "update changelog with new version" echo "push new changelog on branch ${release_note_branch}" git push origin "${release_note_branch}" -f