Skip to content

Commit

Permalink
Use startsWith instead of contains
Browse files Browse the repository at this point in the history
  • Loading branch information
nirinchev committed Nov 19, 2024
1 parent 2703ffe commit a640290
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/nodejs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ jobs:
package:
name: Package for publishing
runs-on: ubuntu-latest
if: ${{ contains(github.head_ref, 'release') }}
if: ${{ startsWith(github.head_ref, 'release/') }}
steps:
- uses: actions/checkout@v4

Expand Down

0 comments on commit a640290

Please sign in to comment.