We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent caa24a0 commit fdfeef7Copy full SHA for fdfeef7
.github/workflows/semantic_pr_check.yml
@@ -39,3 +39,13 @@ jobs:
39
Build
40
tests
41
Tests
42
+
43
+ - name: Check for "do not merge" in PR title
44
+ if: ${{ github.event.pull_request.draft == false }}
45
+ uses: actions/github-script@v6
46
+ with:
47
+ script: |
48
+ const title = context.payload.pull_request.title.toLowerCase();
49
+ if (title.includes('do not merge') || title.includes('do-not-merge')) {
50
+ core.setFailed('PR title contains "do not merge" or "do-not-merge". Please remove this before merging.');
51
+ }
0 commit comments