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
Just saw a scenario where a single repository had a github integration to multiple projects. If two web hooks are defined, the platformsh/gha-retrieve-projectid action will fail as it won't know which projectid is the "correct" one. But if one of the webhooks are removed, platform.sh will still report BOTH project's states in deploying the environment. In this scenario, this action fails when it retrieves the target_url property because it will receive two values, separated by a line break. When we then try to save this to the action output, an Unable to process file command 'output' successfully. error is thrown as the outputs dont support line breaks.
One option would be to require the project id in the inputs so that we can use it to figure out which webhook response is the "correct" one.
Example
gh api /repos/platformsh-templates/wordpress-composer/commits/enhance/reuse-workflows/statuses | jq -r 'map(select((.state | contains("success")) and (.target_url | contains("rbzgbkttdb7bw"))))'
The text was updated successfully, but these errors were encountered:
Just saw a scenario where a single repository had a github integration to multiple projects. If two web hooks are defined, the
platformsh/gha-retrieve-projectid
action will fail as it won't know which projectid is the "correct" one. But if one of the webhooks are removed, platform.sh will still report BOTH project's states in deploying the environment. In this scenario, this action fails when it retrieves thetarget_url
property because it will receive two values, separated by a line break. When we then try to save this to the action output, anUnable to process file command 'output' successfully.
error is thrown as the outputs dont support line breaks.One option would be to require the project id in the inputs so that we can use it to figure out which webhook response is the "correct" one.
Example
The text was updated successfully, but these errors were encountered: