mirror of
https://github.com/servo/servo.git
synced 2025-08-07 06:25:32 +01:00
fix clippy annotation workflow token and version
Signed-off-by: Jerens Lensun <jerensslensun@gmail.com>
This commit is contained in:
parent
9991374952
commit
ab4d64864e
2 changed files with 3 additions and 5 deletions
4
.github/workflows/lint-annotation.yml
vendored
4
.github/workflows/lint-annotation.yml
vendored
|
@ -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: |
|
||||
|
|
4
.github/workflows/lint.yml
vendored
4
.github/workflows/lint.yml
vendored
|
@ -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: |
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue