mirror of
https://github.com/servo/servo.git
synced 2025-08-07 06:25:32 +01:00
add permission and pat on clippy annotation workflow
Signed-off-by: Jerens Lensun <jerensslensun@gmail.com>
This commit is contained in:
parent
5eb3c56c95
commit
6e100cadb8
1 changed files with 7 additions and 1 deletions
8
.github/workflows/lint-annotation.yml
vendored
8
.github/workflows/lint-annotation.yml
vendored
|
@ -6,6 +6,10 @@ on:
|
|||
types:
|
||||
- completed
|
||||
|
||||
permissions:
|
||||
checks: write
|
||||
contents: read
|
||||
|
||||
jobs:
|
||||
pr-annotation:
|
||||
name: Create PR annotation
|
||||
|
@ -13,9 +17,11 @@ jobs:
|
|||
outputs:
|
||||
configuration: ${{ steps.configuration.outputs.result }}
|
||||
steps:
|
||||
- uses: actions/download-artifact@v4
|
||||
- name: Download Artifact Clippy Result and Head Sha
|
||||
uses: actions/download-artifact@v4
|
||||
with:
|
||||
name: clippy-lint-result
|
||||
github-token: ${{ secrets.GH_ACCESS_TOKEN }}
|
||||
- name: Retrieve Head Sha
|
||||
run: |
|
||||
echo "HEAD_SHA=$(cat ./pr/head_sha)" >> $GITHUB_OUTPUT
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue