Skip to content

Commit f86da64

Browse files
committed
Trying to get a commit message (JIRA BLD-5704)
1 parent c2f3f71 commit f86da64

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

.github/workflows/status_check.yml

+4-1
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,9 @@ jobs:
1414
- uses: actions/setup-python@v2
1515
with:
1616
python-version: "3.7"
17+
- name: Set the commit message
18+
run: |
19+
echo "commit_message=$(git log --format=%B -n 1 ${{ github.event.after }})" >> $GITHUB_ENV
1720
- uses: ccdc-opensource/commit-hooks@jira_bld_5704_jira_id_in_commit_message
1821
with:
19-
commitMessage: ${{ github.event.head_commit.message }}
22+
commitMessage: ${{ env.commit_message }}

0 commit comments

Comments
 (0)