build: harden git-repo-sync.yml permissions

Signed-off-by: Alex <aleksandrosansan@gmail.com>
This commit is contained in:
Alex 2022-09-19 21:10:13 +02:00
parent 600561e44c
commit 4966e99082

View File

@ -9,6 +9,9 @@ on:
- '**'
workflow_dispatch:
permissions:
contents: read # to fetch code (actions/checkout)
jobs:
build:
runs-on: ubuntu-latest