Merge pull request #2971 from turrisxyz/setup-permissions

chore: Set permissions for GitHub actions
This commit is contained in:
Ashish Jain
2022-04-28 17:08:36 +02:00
committed by GitHub
3 changed files with 9 additions and 0 deletions

View File

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

View File

@@ -10,6 +10,9 @@ on:
branches: branches:
- gh-pages - gh-pages
permissions:
contents: read
jobs: jobs:
check: check:
runs-on: ubuntu-latest runs-on: ubuntu-latest

View File

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