mirror of
https://github.com/python-telegram-bot/python-telegram-bot.git
synced 2024-12-22 14:35:00 +01:00
adding permissions to workflow (#2984)
This commit is contained in:
parent
36888a7c47
commit
d4e1a19ab1
3 changed files with 7 additions and 1 deletions
2
.github/workflows/example_notifier.yml
vendored
2
.github/workflows/example_notifier.yml
vendored
|
@ -2,6 +2,8 @@ name: Warning maintainers
|
|||
on:
|
||||
pull_request_target:
|
||||
paths: examples/**
|
||||
permissions:
|
||||
pull-requests: write
|
||||
jobs:
|
||||
job:
|
||||
runs-on: ubuntu-latest
|
||||
|
|
|
@ -5,6 +5,8 @@ on:
|
|||
- requirements.txt
|
||||
- requirements-dev.txt
|
||||
- .pre-commit-config.yaml
|
||||
permissions:
|
||||
pull-requests: write
|
||||
jobs:
|
||||
job:
|
||||
runs-on: ubuntu-latest
|
||||
|
|
2
.github/workflows/readme_notifier.yml
vendored
2
.github/workflows/readme_notifier.yml
vendored
|
@ -4,6 +4,8 @@ on:
|
|||
paths:
|
||||
- README.rst
|
||||
- README_RAW.rst
|
||||
permissions:
|
||||
pull-requests: write
|
||||
jobs:
|
||||
job:
|
||||
runs-on: ubuntu-latest
|
||||
|
|
Loading…
Reference in a new issue