@@ -33,15 +33,16 @@ jobs:
3333 run: |
3434 $json = gh issue list --search "in:body *${{ env.REPORT_ID }}*" --repo ${{ github.repository }} --app github-actions --state open --json id,number,body | ConvertFrom-Json
3535 if($json.body -eq $null) {
36- echo "Existing issue #$($json.number) found. Exiting ..."
36+ echo "Could not find existing issue. Continuing ...";
3737 return;
3838 }
3939 $start = $json.body.IndexOf("<!--");
4040 $end = $json.body.IndexOf("-->") + 3;
4141 $header = $json.body.Substring($start, $end - $start)
4242 $hash = $header.Split("hash:")[1].Split("`n")[0].Trim();
43- echo "ISSUE_NUMBER=$($json.number)" >> "$GITHUB_OUTPUT"
44- echo "ISSUE_HASH=$hash" >> "$GITHUB_OUTPUT"
43+ echo "ISSUE_NUMBER=$($json.number)" >> "$GITHUB_OUTPUT";
44+ echo "ISSUE_HASH=$hash" >> "$GITHUB_OUTPUT";
45+ echo "Existing issue `n - number:$($json.number)`n - hash:$hash";
4546 shell: pwsh
4647 env:
4748 GH_TOKEN: ${{ github.token }}
6566 -->
6667
6768 $($json.markdown)" | Out-File report.md
69+ echo "Changes detected and saved to report.md. Continuing..."
6870 shell: pwsh
6971 working-directory: ${{ env.WORKING_DIR }}
7072 env:
8587 GH_TOKEN: ${{ github.token }}
8688 ISSUE: ${{ github.event.issue.html_url }}
8789 ISSUE_NUMBER: ${{ steps.check-existing-issue.outputs.ISSUE_NUMBER }}
88- ISSUE_HASH: ${{ steps.check-existing-issue.outputs.ISSUE_HASH }}
8990
9091 # https://cli.github.com/manual/gh_issue_create
9192 # - run: |
0 commit comments