Skip to content

Commit a61e081

Browse files
whizzzkidSgtPookilidel
authored
fix: 🔥 Allow automation to run from manual triggers. (#1143)
* fix: 🔥 Allow automation to run from manual triggers. * Update .github/workflows/ci.yml Co-authored-by: Marcin Rataj <[email protected]> * Update .github/workflows/ci.yml Co-authored-by: Marcin Rataj <[email protected]> --------- Co-authored-by: Russell Dempsey <[email protected]> Co-authored-by: Marcin Rataj <[email protected]>
1 parent 1ed411e commit a61e081

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/ci.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ jobs:
9696
release-pr:
9797
runs-on: ubuntu-latest
9898
needs: [test]
99-
if: github.event_name == 'push' && github.ref == 'refs/heads/main'
99+
if: github.ref == 'refs/heads/main' && (github.event_name == 'push' || github.event_name == 'workflow_dispatch')
100100
steps:
101101
- uses: google-github-actions/[email protected]
102102
with:
@@ -108,7 +108,7 @@ jobs:
108108
release-assets:
109109
runs-on: ubuntu-latest
110110
needs: [test]
111-
if: github.event_name == 'push' && contains(github.ref, 'refs/tags/')
111+
if: contains(github.ref, 'refs/tags/') && (github.event_name == 'push' || github.event_name == 'workflow_dispatch')
112112
steps:
113113
- name: Check out Git repository
114114
uses: actions/[email protected]

0 commit comments

Comments
 (0)