mirror of
https://github.com/googleapis/genai-toolbox.git
synced 2026-02-18 19:05:19 -05:00
improved the delete logic
This commit is contained in:
2
.github/workflows/link_checker_workflow.yaml
vendored
2
.github/workflows/link_checker_workflow.yaml
vendored
@@ -103,7 +103,7 @@ jobs:
|
||||
sed -E '/(Redirect|Redirects per input)/d' lychee-report.md >> full-report.md
|
||||
|
||||
- name: Delete comment on success
|
||||
if: env.HAS_CHANGES == 'true' && steps.lychee-check.outcome == 'success' && steps.find-comment.outputs.comment-id != ''
|
||||
if: steps.lychee-check.outcome == 'success' && steps.find-comment.outputs.comment-id != ''
|
||||
run: |
|
||||
gh api \
|
||||
--method DELETE \
|
||||
|
||||
Reference in New Issue
Block a user