@dependabot
I believe this should work in v0.0.20
@dependabot creates commits in the host repository and triggers a special push -- where it doesn't have permission to comment (by default?).
https://github.community/t/permissions-nesecary-to-comment-on-a-pr/179047/2
Strategies
- The bot could recognize that the commit it is handling is empty and comment on the parent (this seems generally useful) -- this may require the bot to fetch additional commits (not a big deal, it already does that occasionally).
-
Maybe the workflow can ask for permission to comment:
permissions: issues: write -
The bot could on failure, if it's a
pushfor@dependabot(or listed accounts...):- create an empty commit and push that.
- amend the current commit and force push it. (This might upset
@dependabot)
FAQ | Showcase | Event descriptions | Configuration information | Known Issues | Possible features | Deprecations | Release notes | Helpful scripts