mirror of
https://github.com/servo/servo.git
synced 2025-08-09 23:45:35 +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:
|
pr-annotation:
|
||||||
name: Create PR annotation
|
name: Create PR annotation
|
||||||
runs-on: ubuntu-22.04
|
runs-on: ubuntu-22.04
|
||||||
outputs:
|
|
||||||
configuration: ${{ steps.configuration.outputs.result }}
|
|
||||||
steps:
|
steps:
|
||||||
- name: Download Artifact Clippy Result and Head Sha
|
- name: Download Artifact Clippy Result and Head Sha
|
||||||
uses: actions/download-artifact@v4
|
uses: actions/download-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: clippy-lint-result
|
name: clippy-lint-result
|
||||||
github-token: ${{ secrets.GH_ACCESS_TOKEN }}
|
github-token: ${{ secrets.GH_PAT }}
|
||||||
run-id: ${{ github.event.workflow_run.id }}
|
run-id: ${{ github.event.workflow_run.id }}
|
||||||
- name: Retrieve Head Sha
|
- name: Retrieve Head Sha
|
||||||
run: |
|
run: |
|
||||||
|
|
4
.github/workflows/lint.yml
vendored
4
.github/workflows/lint.yml
vendored
|
@ -56,9 +56,9 @@ jobs:
|
||||||
- name: Clippy
|
- name: Clippy
|
||||||
run: |
|
run: |
|
||||||
./mach clippy --message-format=json --use-crown --locked -- -- --deny warnings | ./etc/ci/clippy-annotation.sh > temp/clippy-output.json
|
./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() }}
|
if: ${{ !cancelled() }}
|
||||||
uses: actions/upload-artifact@v4.6.1
|
uses: actions/upload-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: clippy-lint-result
|
name: clippy-lint-result
|
||||||
path: |
|
path: |
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue