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 4e4fcd8 commit 86b574eCopy full SHA for 86b574e
.github/workflows/check-pr.yml
@@ -19,8 +19,8 @@ jobs:
19
echo -n 'Commits: '
20
echo "${commits_json}" | jq '.'
21
commit_count="$(echo "${commits_json}" | jq -r 'length')"
22
- # Check single commit
23
- 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
24
commit_title="$(echo "${commits_json}" | jq -r '.[0].commit.message' | head -n 1)"
25
echo "Commit title: ${commit_title}"
26
if [[ "${commit_title}" != "${PR_TITLE}" ]] ; then
0 commit comments