Skip to content

Commit f576d65

Browse files
authored
chore(ci): only make draft release for commits on main
1 parent 0eacdd3 commit f576d65

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -106,6 +106,7 @@ jobs:
106106

107107
- name: Release
108108
uses: softprops/action-gh-release@master
109+
if: ${{ github.ref == 'refs/heads/main' }}
109110
env:
110111
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
111112
with:

0 commit comments

Comments
 (0)