Merge pull request #263 from TurnrDev/patch-1

Add permissions to example yml files
This commit is contained in:
Julien Catania 2023-09-22 21:07:25 +02:00 committed by GitHub
commit 62386e9601
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -33,6 +33,10 @@ If that's fine for you, using this action is as simple as:
on: on:
pull_request: pull_request:
push: push:
permissions:
contents: read
actions: read
checks: write
jobs: jobs:
build-test: build-test:
name: Build & Test name: Build & Test
@ -86,6 +90,10 @@ on:
workflows: ['CI'] # runs after CI workflow workflows: ['CI'] # runs after CI workflow
types: types:
- completed - completed
permissions:
contents: read
actions: read
checks: write
jobs: jobs:
report: report:
runs-on: ubuntu-latest runs-on: ubuntu-latest