Skip to content

Commit bbf83e7

Browse files
authored
fix: Update release.yml (#235)
Removes skip ci from the commit line as this prevents the workflow from running at all; adds a conditional that runs the workflow unless the commit message == "Update dist folder".
1 parent cc1ffa2 commit bbf83e7

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/release.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ on:
2222
jobs:
2323
release:
2424
runs-on: ubuntu-latest
25+
if: github.event.commits[0].message != 'Update dist folder'
2526
permissions:
2627
contents: write
2728
id-token: write
@@ -80,5 +81,5 @@ jobs:
8081
- name: Commit and Push Changes (to temp branch)
8182
run: |
8283
git add dist
83-
git commit -m "Update dist folder [skip ci]"
84+
git commit -m "Update dist folder"
8485
git push --force origin temp-build-branch

0 commit comments

Comments
 (0)