Updates the permissions block to be minimal
And adds a permissions block to the README.
This commit is contained in:
parent
9e304b92ff
commit
21753283b1
3 changed files with 9 additions and 5 deletions
|
|
@ -42,6 +42,14 @@ jobs:
|
|||
# CodeQL runs on ubuntu-latest, windows-latest, and macos-latest
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
permissions:
|
||||
# required for all workflows
|
||||
security-events: write
|
||||
|
||||
# only required for workflows in private repositories
|
||||
actions: read
|
||||
contents: read
|
||||
|
||||
steps:
|
||||
- name: Checkout repository
|
||||
uses: actions/checkout@v2
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue