diff --git a/.changeset/tiny-pumas-relate.md b/.changeset/tiny-pumas-relate.md new file mode 100644 index 0000000000..badc8d5e64 --- /dev/null +++ b/.changeset/tiny-pumas-relate.md @@ -0,0 +1,5 @@ +--- +"pie-monorepo": patch +--- + +[Fixed] - danger flagging automated prs diff --git a/dangerfile.js b/dangerfile.js index 27821f5d2b..b61fb11323 100644 --- a/dangerfile.js +++ b/dangerfile.js @@ -34,7 +34,7 @@ danger.git.created_files.filter((filepath) => filepath.includes('.changeset/') & }); }); -// Check for empty PR Description checkboxes -if (pr.body.includes('- [ ]')) { +// Check for empty PR Description checkboxes - but not for automated version PRs +if (pr.body.includes('- [ ]') && (pr.user.login !== 'dependabot[bot]' && pr.user.login !== 'renovate[bot]')) { fail('You currently have an unchecked checklist item in your PR description.\n\nPlease confirm this check has been carried out – if it\'s not relevant to your PR, delete this line from the PR checklist.'); }