Replace tag if already exists when pinning Action
varunsh-coder opened this issue · 4 comments
varunsh-coder commented
See this case:
ratify-project/ratify#755 (review)
varunsh-coder commented
@arjundashrath please take this up
arjundashrath commented
@varunsh-coder looks like we append to the actions line and keep the previous comments. So should I delete all previous comments or should I add logic looking for a tag and removing if it matches? in that case, what all keywords should I look for?
varunsh-coder commented
I believe we can remove any previous comments since they come after an action tag and are meant for updating purposes. Please include a test case using the workflow file that experienced this problem.
varunsh-coder commented
this is fixed and released. good work @arjundashrath!