Skip to content

Commit

Permalink
Include the current branch in GitHub Actions workflow to allow tests …
Browse files Browse the repository at this point in the history
…to run

* Modify `push` event to include the current branch
* Modify `pull_request` event to include the current branch
  • Loading branch information
milewski committed Oct 25, 2024
1 parent c8e7fd8 commit 5bcc5c6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@ name: Node.js CI

on:
push:
branches: [ main ]
branches: [ main, ${GITHUB_REF##*/} ]
pull_request:
branches: [ main ]
branches: [ main, ${GITHUB_REF##*/} ]

jobs:
build:
Expand Down

0 comments on commit 5bcc5c6

Please sign in to comment.