Merge pull request #15103 from timvandermeij/permissions

chore: Set permissions for GitHub actions
This commit is contained in:
Tim van der Meij 2022-06-25 15:39:19 +02:00 committed by GitHub
commit def1a30d3e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 6 additions and 2 deletions

View File

@ -1,5 +1,8 @@
name: CI
on: [push, pull_request]
permissions:
contents: read
jobs:
test:
name: Test

View File

@ -1,13 +1,14 @@
name: CodeQL
on: [push, pull_request]
permissions:
contents: read
jobs:
analyze:
name: Analyze
runs-on: ubuntu-latest
permissions:
actions: read
contents: read
security-events: write
strategy: