Restrict workflow permissions

This commit is contained in:
AsamK 2022-12-03 15:17:30 +01:00
parent 44c945f45d
commit 47feda6ae4
3 changed files with 18 additions and 57 deletions

View file

@ -9,6 +9,10 @@ on:
schedule:
- cron: '0 7 * * 4'
permissions:
contents: read # to fetch code (actions/checkout)
security-events: write
jobs:
analyse:
name: Analyse