diff --git a/.github/workflows/close-discussion-on-pr.yaml b/.github/workflows/close-discussion-on-pr.yaml index 7ed0cc07..5ffeec42 100644 --- a/.github/workflows/close-discussion-on-pr.yaml +++ b/.github/workflows/close-discussion-on-pr.yaml @@ -35,7 +35,7 @@ jobs: -H "Accept: application/vnd.github.v3+json" \ -d '{"state": "closed"}' \ "https://api.github.com/repos/${{ github.repository }}/discussions/$discussion_id") - + if echo "$response" | jq -e '.id' > /dev/null; then echo "Successfully closed discussion #$discussion_id" else @@ -45,4 +45,4 @@ jobs: fi done shell: bash - continue-on-error: true \ No newline at end of file + continue-on-error: true diff --git a/.github/workflows/compile-check.yaml b/.github/workflows/compile-check.yaml index ff2d2fa1..394e558e 100644 --- a/.github/workflows/compile-check.yaml +++ b/.github/workflows/compile-check.yaml @@ -19,4 +19,4 @@ jobs: shell: pwsh run: | Set-ExecutionPolicy Bypass -Scope Process -Force; ./Compile.ps1 - continue-on-error: false # Directly fail the job on error, removing the need for a separate check \ No newline at end of file + continue-on-error: false # Directly fail the job on error, removing the need for a separate check diff --git a/.github/workflows/pre-release.yaml b/.github/workflows/pre-release.yaml index 75f69e2f..d6bf6912 100644 --- a/.github/workflows/pre-release.yaml +++ b/.github/workflows/pre-release.yaml @@ -67,13 +67,13 @@ jobs: run: | $signature = Get-AuthenticodeSignature -FilePath ./winutil.ps1 if ($signature.Status -ne 'Valid') { throw "Code signing failed" } - + - name: Upload winutil.ps1 as artifact uses: actions/upload-artifact@v4 with: name: winutil path: ./winutil.ps1 - + - name: Create and Upload Release id: create_release uses: softprops/action-gh-release@v2 diff --git a/.github/workflows/remove-winutil.yaml b/.github/workflows/remove-winutil.yaml index 69396a3e..5dedbe93 100644 --- a/.github/workflows/remove-winutil.yaml +++ b/.github/workflows/remove-winutil.yaml @@ -31,4 +31,4 @@ jobs: git commit -m "Delete winutil.ps1 as it is not allowed" git push origin HEAD:${{ github.ref }} env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} \ No newline at end of file + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}