Bobby Bruce has submitted this change. ( https://gem5-review.googlesource.com/c/public/gem5/+/72229?usp=email )

Change subject: misc: Include body in check for Change-Id
......................................................................

misc: Include body in check for Change-Id

Updates ci-tests.yaml to check the entire commit message for
the Change-Id, not just the subject.

Change-Id: Ia76c77d096617a6fe76ffea7f2bd8a4295ca14f7
---
M .github/workflows/ci-tests.yaml
1 file changed, 1 insertion(+), 1 deletion(-)




diff --git a/.github/workflows/ci-tests.yaml b/.github/workflows/ci-tests.yaml
index 520767b..c184e48 100644
--- a/.github/workflows/ci-tests.yaml
+++ b/.github/workflows/ci-tests.yaml
@@ -29,7 +29,7 @@
           # loop through all the commits in the pull request
for commit in $(git rev-list ${{ github.event.pull_request.base.sha }}..${{ github.event.pull_request.head.sha }}); do
               git checkout $commit
-              if (git log -1 --pretty=format:"%s" | grep -q "Change-Id: ")
+              if (git log -1 --pretty=format:"%B" | grep -q "Change-Id: ")
               then
# passes as long as at least one change-id exists in the pull request
                 exit 0

--
To view, visit https://gem5-review.googlesource.com/c/public/gem5/+/72229?usp=email To unsubscribe, or for help writing mail filters, visit https://gem5-review.googlesource.com/settings?usp=email

Gerrit-MessageType: merged
Gerrit-Project: public/gem5
Gerrit-Branch: develop
Gerrit-Change-Id: Ia76c77d096617a6fe76ffea7f2bd8a4295ca14f7
Gerrit-Change-Number: 72229
Gerrit-PatchSet: 2
Gerrit-Owner: Melissa Jost <melissakj...@gmail.com>
Gerrit-Reviewer: Bobby Bruce <bbr...@ucdavis.edu>
Gerrit-Reviewer: Jason Lowe-Power <ja...@lowepower.com>
_______________________________________________
gem5-dev mailing list -- gem5-dev@gem5.org
To unsubscribe send an email to gem5-dev-le...@gem5.org

Reply via email to