We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4b72286 commit 7c6af81Copy full SHA for 7c6af81
.github/workflows/check-pr.yml
@@ -17,8 +17,8 @@ jobs:
17
echo -n 'Commits: '
18
echo "${commits_json}" | jq '.'
19
commit_count="$(echo "${commits_json}" | jq -r 'length')"
20
- # Check single commit
21
- if [ "${commit_count}" -eq 1 ] ; then
+ # Check first commit message (except for dependabot who is inconsistent)
+ if [ "${commit_count}" -eq 1 ] && [ "${GITHUB_ACTOR}" != 'dependabot[bot]' ] ; then
22
commit_title="$(echo "${commits_json}" | jq -r '.[0].commit.message' | head -n 1)"
23
echo "Commit title: ${commit_title}"
24
if [[ "${commit_title}" != "${PR_TITLE}" ]] ; then
0 commit comments