-
Notifications
You must be signed in to change notification settings - Fork 32
@dependabot
Josh Soref edited this page Feb 25, 2024
·
3 revisions
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
- 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
push
for@dependabot
(or listed accounts...):- create an empty commit and push that.
- amend the current commit and force push it. (This might upset
@dependabot
)