Restrict permissions in GitHub workflows (#10790)

This commit is contained in:
Alex 2022-08-28 15:59:06 +01:00 committed by GitHub
parent 5951de4086
commit a9b4b19be5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 6 additions and 0 deletions

View File

@ -2,6 +2,9 @@ name: CI
on: [push, pull_request]
permissions:
contents: read
jobs:
ubuntu:
runs-on: ubuntu-18.04

View File

@ -2,6 +2,9 @@ name: CI (node.js)
on: [push, pull_request]
permissions:
contents: read
jobs:
build:
runs-on: ubuntu-latest