adding permissions to workflow (#2984)

This commit is contained in:
Poolitzer 2022-04-29 23:49:33 +02:00 committed by Hinrich Mahler
parent 36888a7c47
commit d4e1a19ab1
3 changed files with 7 additions and 1 deletions

View file

@ -2,6 +2,8 @@ name: Warning maintainers
on:
pull_request_target:
paths: examples/**
permissions:
pull-requests: write
jobs:
job:
runs-on: ubuntu-latest

View file

@ -5,6 +5,8 @@ on:
- requirements.txt
- requirements-dev.txt
- .pre-commit-config.yaml
permissions:
pull-requests: write
jobs:
job:
runs-on: ubuntu-latest

View file

@ -4,6 +4,8 @@ on:
paths:
- README.rst
- README_RAW.rst
permissions:
pull-requests: write
jobs:
job:
runs-on: ubuntu-latest