update permissions setting

This commit is contained in:
Yong Yan
2022-03-08 14:19:19 -08:00
parent 90d3b1b63b
commit af777b030e
+2 -4
View File
@@ -13,15 +13,12 @@ on:
branches: [ $default-branch ]
schedule:
- cron: $cron-weekly
permissions:
contents: read
jobs:
clj-holmes:
name: Run clj-holmes scanning
runs-on: ubuntu-latest
permissions:
actions: read
contents: read
security-events: write
steps:
@@ -39,4 +36,5 @@ jobs:
- name: Upload analysis results to GitHub Security tab
uses: github/codeql-action/upload-sarif@v1
with:
sarif_file: ${{github.workspace}}/clj-holmes-results.sarif
sarif_file: ${{github.workspace}}/clj-holmes-results.sarif
ait-for-processing: true