Skip to content

Commit

Permalink
Sign commit and restrict test (#117)
Browse files Browse the repository at this point in the history
* 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 <vgramer@gmail.com>
  • Loading branch information
vgramer authored Dec 9, 2021
1 parent 7504457 commit 670fe2c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
1 change: 1 addition & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ on:
branches: [ master ]
pull_request:
branches: [ master ]
paths-ignore: [ CHANGELOG.md ]

jobs:
check-license:
Expand Down
4 changes: 3 additions & 1 deletion hack/create_or_update_release_notes_pr.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 670fe2c

Please sign in to comment.