Skip to content

Commit

Permalink
allow whitespaces in PR desc
Browse files Browse the repository at this point in the history
  • Loading branch information
mhofman committed Sep 7, 2023
1 parent eaa23c6 commit ae34af8
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ jobs:
let behavior = '{}';
if (context.payload.pull_request) {
const { body } = context.payload.pull_request;
const regex = /^\#matrix-test-${{ matrix.variation }}:\s+(\S+)/m;
const regex = /^\#matrix-test-${{ matrix.variation }}:\s+(.*)$/;
const result = regex.exec(body);
if (result) {
behavior = result[1];
Expand Down Expand Up @@ -81,7 +81,7 @@ jobs:
let behavior = '{}';
if (context.payload.pull_request) {
const { body } = context.payload.pull_request;
const regex = /^\#standalone-test:\s+(\S+)/m;
const regex = /^\#standalone-test:\s+(.*)$/;
const result = regex.exec(body);
if (result) {
behavior = result[1];
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/normal.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
let behavior = '{}';
if (context.payload.pull_request) {
const { body } = context.payload.pull_request;
const regex = /^\#normal-test:\s+(\S+)/m;
const regex = /^\#normal-test:\s+(.*)$/;
const result = regex.exec(body);
if (result) {
behavior = result[1];
Expand Down

0 comments on commit ae34af8

Please sign in to comment.