Merge pull request #4136 from turrisxyz/Pinned-Dependencies-GitHub

chore: Set permissions for GitHub actions
This commit is contained in:
Stéphane Graber 2022-06-08 01:26:59 -04:00 committed by GitHub
commit bb97e07995
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 12 additions and 0 deletions

View File

@ -2,6 +2,9 @@ name: Simple test build
on: on:
- push - push
- pull_request - pull_request
permissions:
contents: read
jobs: jobs:
test: test:
strategy: strategy:

View File

@ -3,6 +3,9 @@ on:
push: push:
branches: branches:
- master - master
permissions:
contents: read
jobs: jobs:
test: test:
runs-on: ubuntu-latest runs-on: ubuntu-latest

View File

@ -2,6 +2,9 @@ name: Sanitizers build
on: on:
- push - push
- pull_request - pull_request
permissions:
contents: read
jobs: jobs:
sanitizers: sanitizers:
strategy: strategy:

View File

@ -2,6 +2,9 @@ name: Static analysis
on: on:
- push - push
- pull_request - pull_request
permissions:
contents: read
jobs: jobs:
test: test:
runs-on: ubuntu-18.04 runs-on: ubuntu-18.04