Skip to content

Commit 49fba26

Browse files
committed
Tag releases published from the main branch
1 parent 32bf3c2 commit 49fba26

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/main.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ jobs:
8585
tags: ghcr.io/serenity-js/playwright:${{ steps.tag.outputs.tag }}
8686

8787
- name: Push Git tag
88-
if: success()
88+
if: success() && github.ref == 'refs/heads/main'
8989
env:
9090
TAG_NAME: ${{ steps.git_tag.outputs.tag }}
9191
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)