Skip to content

Commit 5bcc5c6

Browse files
committed
Include the current branch in GitHub Actions workflow to allow tests to run
* Modify `push` event to include the current branch * Modify `pull_request` event to include the current branch
1 parent c8e7fd8 commit 5bcc5c6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/test.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@ name: Node.js CI
22

33
on:
44
push:
5-
branches: [ main ]
5+
branches: [ main, ${GITHUB_REF##*/} ]
66
pull_request:
7-
branches: [ main ]
7+
branches: [ main, ${GITHUB_REF##*/} ]
88

99
jobs:
1010
build:

0 commit comments

Comments
 (0)