Skip to content
This repository was archived by the owner on Jun 14, 2023. It is now read-only.

Commit 53fbb6a

Browse files
committed
Adding push condition
1 parent 1d40259 commit 53fbb6a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/release.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ on:
88
jobs:
99
release:
1010
runs-on: ubuntu-latest
11-
if: contains(github.event.base_ref, 'main')
11+
if: github.event_name == 'push' && contains(github.event.base_ref, 'main')
1212
steps:
1313
- uses: actions/checkout@v2
1414
- uses: ncipollo/release-action@v1

0 commit comments

Comments
 (0)