You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have an automerge workflow that checks the PR author: if: ${{ github.event.workflow_run.conclusion == 'success' && github.actor == 'dependabot[bot]' }}
and gets triggered after the tests workflow:
The problem is that, sometimes, if the tests fail, the dependabot automerge doesn't get triggered (as expected) and the PR stays open. When I fix the test issue, I re-run the jobs and the dependabot one doesn't get triggered anymore saying that the author is not dependabot when it is.
EDIT: in a second check, I don't think it works either if the tests are success. I think the problem is linked with the workflow_run trigger not having dependabot as an actor even tho dependabot created the PR.
The text was updated successfully, but these errors were encountered:
I have an automerge workflow that checks the PR author:
if: ${{ github.event.workflow_run.conclusion == 'success' && github.actor == 'dependabot[bot]' }}
and gets triggered after the tests workflow:
The problem is that, sometimes, if the tests fail, the dependabot automerge doesn't get triggered (as expected) and the PR stays open. When I fix the test issue, I re-run the jobs and the dependabot one doesn't get triggered anymore saying that the author is not dependabot when it is.
EDIT: in a second check, I don't think it works either if the tests are success. I think the problem is linked with the workflow_run trigger not having dependabot as an actor even tho dependabot created the PR.
The text was updated successfully, but these errors were encountered: