Skip to content

Merge-Monitor

Choose a tag to compare

@YGNT7777 YGNT7777 released this 20 Apr 12:11
· 4 commits to main since this release
ec5a754

Merge-Monitor

A GitHub Action that blocks PRs if they modify any files listed in lockedFiles.txt.

How to use:

When you add the github action to your repo, on the lockedFiles.txt add the name of the files that you don't want outsiders to change

If you want to allow a pull request to go through even if it modifies locked files, you can add a special label: BYPASS_LABEL
By adding the label you skip the check

Demos:

If there has been changes:

closeTest

No changes

ok

You can also use label only if you want to make changes to files that isn't allowed

Using label

withLabel