build: harden workflow permissions

Signed-off-by: Alex <aleksandrosansan@gmail.com>
pull/11132/head
Alex 2 years ago committed by Eli Schwartz
parent fae24d86f5
commit 9074ad93c6
  1. 3
      .github/workflows/cygwin.yml
  2. 3
      .github/workflows/images.yml
  3. 3
      .github/workflows/website.yml

@ -18,6 +18,9 @@ on:
- ".github/workflows/cygwin.yml"
- "run*tests.py"
permissions:
contents: read
jobs:
test:
runs-on: windows-latest

@ -23,6 +23,9 @@ on:
schedule:
- cron: '0 0 * * 0'
permissions:
contents: read
jobs:
build:
# do not run the weekly scheduled job in a fork

@ -19,6 +19,9 @@ on:
types:
- published
permissions:
contents: write # for release creation (svenstaro/upload-release-action)
# This job is copy/paster into wrapdb CI, please update it there when doing any
# change here.
jobs:

Loading…
Cancel
Save