You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+8-7Lines changed: 8 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,13 @@
1
1
# Merge-Monitor
2
2
3
-
A github action bot that checks in pull request if files has been changed based of the lockedFiles.txt. If there has been changesthen it will automatically reject the pull request
3
+
A GitHub Action that blocks PRs if they modify any files listed in lockedFiles.txt.
4
+
5
+
# How to use:
6
+
7
+
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
8
+
9
+
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
10
+
By adding the label you skip the check
4
11
5
12
# Demos:
6
13
@@ -14,9 +21,3 @@ You can also use label only if you want to make changes to files that isn't allo
0 commit comments