digger
digger copied to clipboard
Digger CLI doesn't report the workflow status in case of policy violation
v0.3.25
PR is opened with change in a Project. Actor who is not allowed to apply runs "digger apply" Workflow starts, inside it checks the policy and finishes with:
Skipping command ... digger apply for project PROJECT_NAME
User digger apply is not allowed to perform action: ACTOR_NAME. Check your policies :x:
Digger finished successfully
Run if [[ "workflow_dispatch" == "issue_comment" ]]; then
After that the comment in PR should be updated with Job status (probably failed?), but it's not and is kept as running In the PR comment with: 👷 Jobs status: 🔄 accounts#mosaic-dev#dev#api_gw_cognito running
In case the policy is not violated, I don't see this problem, apply proceeds and the PR comment is edited.