Skip to content

Commit

Permalink
Quick fix to GitHub Action
Browse files Browse the repository at this point in the history
Made it safer to use the trigger word in commits by only checking if the message starts with it
  • Loading branch information
Dart2112 committed Jan 25, 2025
1 parent 04942a7 commit 661fba0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/publish-updates.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ on:
jobs:
publish:
runs-on: ubuntu-latest
if: "contains(github.event.head_commit.message, 'Update')"
if: "startsWith(github.event.head_commit.message, 'Update ')"

permissions:
contents: write
Expand Down

0 comments on commit 661fba0

Please sign in to comment.