Skip to content

Commit

Permalink
dependabotNudge: cut at 50 messages, and add a cont
Browse files Browse the repository at this point in the history
  • Loading branch information
thypon committed May 13, 2024
1 parent abda2d9 commit 70f67e6
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .github/workflows/dependabot-nudge.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,12 @@ jobs:
minlevel = 'high';
}
const messages = await dependabotNudge({debug, org: process.env.GITHUB_REPOSITORY_OWNER, github: github, minlevel: minlevel, githubToSlack: githubToSlack});
let messages = await dependabotNudge({debug, org: process.env.GITHUB_REPOSITORY_OWNER, github: github, minlevel: minlevel, githubToSlack: githubToSlack});
if (messages.length > 50) {
messages = messages.slice(0, 49);
messages.push('... and more!');
}
for (const message of messages) {
try {
Expand Down

0 comments on commit 70f67e6

Please sign in to comment.