Skip to content

Commit

Permalink
fix: hardcoded repo
Browse files Browse the repository at this point in the history
  • Loading branch information
zhijie-yang committed Aug 30, 2024
1 parent 8aca8b3 commit f58fadd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/Vulnerability-Scan.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -224,7 +224,7 @@ jobs:
- id: issue-exists
run: |
issue_number=$(gh issue list --repo github.com/zhijie-yang/workflow-playground --json "number,title" \
issue_number=$(gh issue list --repo ${{ steps.get-image-repo.outputs.img-repo }} --json "number,title" \
| jq -r '.[] | select(.title == "${{ steps.create-markdown.outputs.issue-title }}") | .number')
echo "issue-exists=$([[ -n "$issue_number" ]] && echo 'true' || echo 'false')" >> "$GITHUB_OUTPUT"
echo "issue-number=$issue_number" >> "$GITHUB_OUTPUT"
Expand All @@ -242,7 +242,7 @@ jobs:
# | F | F | T | create |
# | F | F | F | nop |

- name: Create issue
- name: Notify via GitHub issue
if: ${{ steps.create-markdown.outputs.vulnerability-exists == 'true' }}
run: |
set -x
Expand Down

0 comments on commit f58fadd

Please sign in to comment.