Open
Description
Community Note
- Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request. Searching for pre-existing feature requests helps us consolidate datapoints for identical requirements into a single place, thank you!
- Please do not leave "+1" or other comments that do not add relevant new information or questions, they generate extra noise for issue followers and do not help prioritize the request.
- If you are interested in working on this issue or have submitted a pull request, please leave a comment.
Overview of the Issue
Rerunning a plan or running an apply should set atlantis/post_workflow_hook
to pending
This issue may also affect atlantis/pre_workflow_run
Reproduction Steps
- Open a PR
- Run atlantis plan
- Rerun atlantis plan
- Notice that the
atlantis/post_workflow_hook
is stuck in "succeeded" instead of going to "pending"
Logs
N/A
Environment details
- Atlantis version: 0.22.3
Atlantis server-side config file:
repos:
- id: /.*/
apply_requirements:
- mergeable
- approved
workflow: terraform
post_workflow_hooks:
- run: |
echo "Post workflow run completed successfully"
Additional Context
- See related PR feat: Add pre and post workflow hook status #2441
- cc: @Fabianoshz
The only way to know it is a different run is due to the job id changing in the URL.