diff --git a/.github/workflows/lint-annotation.yml b/.github/workflows/lint-annotation.yml index 39508b35abe..8b85840ee16 100644 --- a/.github/workflows/lint-annotation.yml +++ b/.github/workflows/lint-annotation.yml @@ -14,14 +14,12 @@ jobs: pr-annotation: name: Create PR annotation runs-on: ubuntu-22.04 - outputs: - configuration: ${{ steps.configuration.outputs.result }} steps: - name: Download Artifact Clippy Result and Head Sha uses: actions/download-artifact@v4 with: name: clippy-lint-result - github-token: ${{ secrets.GH_ACCESS_TOKEN }} + github-token: ${{ secrets.GH_PAT }} run-id: ${{ github.event.workflow_run.id }} - name: Retrieve Head Sha run: | diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 52d8a2ae4d1..eb20e43855d 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -56,9 +56,9 @@ jobs: - name: Clippy run: | ./mach clippy --message-format=json --use-crown --locked -- -- --deny warnings | ./etc/ci/clippy-annotation.sh > temp/clippy-output.json - - name: Clippy linter result + - name: Clippy Linter Result Upload if: ${{ !cancelled() }} - uses: actions/upload-artifact@v4.6.1 + uses: actions/upload-artifact@v4 with: name: clippy-lint-result path: |