oh-my-posh/.github/workflows/edit_rights.yml
2023-11-04 12:00:55 +01:00

21 lines
518 B
YAML

name: Notify When Maintainers Cannot Edit
# **What it does**: Notifies the author of a PR when their PR does not allow maintainers to edit it.
# **Why we have it**: To prevent having to do this manually.
# **Who does it impact**: Open-source.
on:
pull_request_target:
types:
- opened
- edited
permissions:
pull-requests: write
jobs:
notify-when-maintainers-cannot-edit:
uses: jandedobbeleer/workflows/.github/workflows/edit_rights.yml@main
secrets:
token: ${{ secrets.GH_PAT }}