Skip to content
Snippets Groups Projects
Unverified Commit 83dfa6c2 authored by Kenny Leung's avatar Kenny Leung Committed by GitHub
Browse files

explicitly set permissions for github actions (#687)

parent 1530fb11
No related branches found
No related tags found
No related merge requests found
...@@ -24,6 +24,10 @@ on: ...@@ -24,6 +24,10 @@ on:
schedule: schedule:
- cron: '45 10 * * 1' - cron: '45 10 * * 1'
permissions:
contents: read
security-events: write
jobs: jobs:
analyze: analyze:
name: Analyze name: Analyze
......
...@@ -21,6 +21,9 @@ on: ...@@ -21,6 +21,9 @@ on:
pull_request: pull_request:
branches: [ main ] branches: [ main ]
permissions:
contents: read
jobs: jobs:
build: build:
runs-on: ubuntu-20.04 runs-on: ubuntu-20.04
......
...@@ -17,6 +17,9 @@ name: Verify ...@@ -17,6 +17,9 @@ name: Verify
on: [push, pull_request] on: [push, pull_request]
permissions:
contents: read
jobs: jobs:
license-check: license-check:
name: license boilerplate check name: license boilerplate check
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment