Block PR Merges Under Specific Conditions
Block Merge When LICENSE
File Is Modified
workflows:
- name: unauthorized-license-workflow
description: Protect unauthorized modifications to the LICENSE
run:
if: $hasFileName("LICENSE")
then: $disableMerge("Pull Requests should not change the LICENSE")