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 d4b5920 commit 2d41d26Copy full SHA for 2d41d26
.github/workflows/PR.yml
@@ -16,7 +16,7 @@ jobs:
16
const pr = await github.rest.pulls.get({ owner, repo, pull_number: issue_number });
17
const title = pr.data.title;
18
const labRegex = /\[LAB(\d+)\]/;
19
- const titleRegex = /\[LAB\d+\] [\da-zA-Z]+/;
+ const titleRegex = /^\[LAB\d+\] [\da-zA-Z]+$/;
20
21
if (!titleRegex.test(title)) {
22
core.setFailed('PR title does not match the required format. Please use the format [LAB#] student#.');
0 commit comments