Skip to content

Commit

Permalink
cleanup(CI): Run only when specific commit
Browse files Browse the repository at this point in the history
  • Loading branch information
GabsEdits authored Apr 23, 2024
1 parent 60762d4 commit 2c251da
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/npm-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,13 @@ name: Node.js Package

on:
push:
tags:
- '*'
branches:
- main
workflow_dispatch:

jobs:
build:
if: startsWith(github.event.head_commit.message, 'release:')
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
Expand Down

0 comments on commit 2c251da

Please sign in to comment.