From 212ce0f7f14d18bb0627e441d679b2f5295a1a88 Mon Sep 17 00:00:00 2001 From: CarterPerez-dev Date: Mon, 23 Feb 2026 08:25:19 -0500 Subject: [PATCH] bugfix: resolve failing PR workflows from contributors --- .github/workflows/lint.yml | 29 ++++++----------------------- 1 file changed, 6 insertions(+), 23 deletions(-) diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index b7530048..2fc15f42 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -14,7 +14,6 @@ jobs: runs-on: ubuntu-latest permissions: - pull-requests: write contents: read strategy: @@ -198,7 +197,7 @@ jobs: # Create Summary for Ruff - name: Create Ruff Lint Summary - if: matrix.type == 'ruff' && github.event_name == 'pull_request' + if: matrix.type == 'ruff' run: | { echo "## Lint Results: ${{ matrix.name }}" @@ -225,13 +224,11 @@ jobs: echo '---' echo '### Review the issues above' fi - echo '' - echo "" - } > lint-report.md + } >> $GITHUB_STEP_SUMMARY # Create Summary for Biome - name: Create Biome Lint Summary - if: matrix.type == 'biome' && github.event_name == 'pull_request' + if: matrix.type == 'biome' run: | { echo "## Lint Results: ${{ matrix.name }}" @@ -258,13 +255,11 @@ jobs: echo '---' echo '### Review the issues above' fi - echo '' - echo "" - } > lint-report.md + } >> $GITHUB_STEP_SUMMARY # Create Summary for Go - name: Create Go Lint Summary - if: matrix.type == 'go' && github.event_name == 'pull_request' + if: matrix.type == 'go' run: | { echo "## Lint Results: ${{ matrix.name }}" @@ -291,19 +286,7 @@ jobs: echo '---' echo '### Review the issues above' fi - echo '' - echo "" - } > lint-report.md - - # Post PR Comment - - name: Post PR Comment - if: github.event_name == 'pull_request' - uses: peter-evans/create-or-update-comment@v4 - with: - issue-number: ${{ github.event.pull_request.number }} - body-path: ${{ matrix.path }}/lint-report.md - edit-mode: replace - comment-tag: lint-check-${{ matrix.name }} + } >> $GITHUB_STEP_SUMMARY # Exit with proper status - name: Check lint status