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
We were under the impression the action should fail if the attachment fails for any reason. This is a blocker for us since we need to prevent PR merges if it's not attached to an Asana task.
In some cases we get the following response but it returns with a 200 status so the action passes and let the PR merge although it wasn't really attached to an Asana task:
[
{
task: '...',
result: 'GitHub Widget attachment/comment failed because the task is not in a project where the GitHub Action is allowed to run in. Please add any of the project IDs [...] to allowed projects list in the GitHub Action configuration file or add the task to an allowed project.'
}
]
This could be controlled by some strict variable if there's a need to support current behavior.
Another option could be exposing the response as an output for further steps to fail the whole workflow like suggested here.
The text was updated successfully, but these errors were encountered:
Another similar issue this could alleviate - the action doesn't fail even if there's no Asana link in the PR description which kinda beats the whole purpose of that action (assuming one would like to enforce its existence).
We were under the impression the action should fail if the attachment fails for any reason. This is a blocker for us since we need to prevent PR merges if it's not attached to an Asana task.
In some cases we get the following response but it returns with a 200 status so the action passes and let the PR merge although it wasn't really attached to an Asana task:
This could be controlled by some
strict
variable if there's a need to support current behavior.Another option could be exposing the response as an output for further steps to fail the whole workflow like suggested here.
The text was updated successfully, but these errors were encountered: