oh-my-posh/.github/workflows/edit_rights.yml

21 lines
518 B
YAML
Raw Normal View History

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
2023-11-04 03:52:10 -07:00
- edited
permissions:
pull-requests: write
jobs:
notify-when-maintainers-cannot-edit:
2023-11-04 03:52:10 -07:00
uses: jandedobbeleer/workflows/.github/workflows/edit_rights.yml@main
secrets:
token: ${{ secrets.GH_PAT }}