GitHub Workflows security hardening (#4586)

This commit is contained in:
Alex 2022-10-31 03:17:17 +02:00 committed by GitHub
parent 85403a185e
commit 6c1da6d88e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 10 additions and 0 deletions

View File

@ -3,6 +3,10 @@ on:
workflow_dispatch:
schedule:
- cron: '0 0 * * 0'
permissions:
contents: read # to fetch code (actions/checkout)
jobs:
build:
name: Running test

View File

@ -5,6 +5,9 @@ on:
branches:
- 'main'
permissions:
contents: read # to fetch code (actions/checkout)
jobs:
build:
name: Make and Deploy site

View File

@ -6,6 +6,9 @@ on:
- 'main'
pull_request:
permissions:
contents: read # to fetch code (actions/checkout)
jobs:
build:
name: Running test