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

Commit 1d40259

Browse files
committed
Trying with base_ref
1 parent b634125 commit 1d40259

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

.github/workflows/release.yaml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,9 @@ on:
88
jobs:
99
release:
1010
runs-on: ubuntu-latest
11+
if: contains(github.event.base_ref, 'main')
1112
steps:
1213
- uses: actions/checkout@v2
13-
- name: 'see ref'
14-
run: |
15-
echo "ref: {{ github.ref }}"
1614
- uses: ncipollo/release-action@v1
1715
with:
1816
token: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)