Skip to content

Commit

Permalink
on tag
Browse files Browse the repository at this point in the history
  • Loading branch information
matteoKuama committed Dec 5, 2024
1 parent 74a13b2 commit 7f1fc7d
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions .github/workflows/release-branch-name.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
name: Release branch name test only on tags
on:
release:
types:
- created
push:
tags:
- "*"

jobs:
conditional-exit:
Expand All @@ -27,6 +27,9 @@ jobs:
echo outputs.default_branch ${{steps.branch-names.outputs.default_branch}}
echo outputs.head_ref_branch ${{steps.branch-names.outputs.head_ref_branch}}
echo outputs.ref_branch ${{steps.branch-names.outputs.ref_branch}}
echo outputs.ref_branch ${{steps.branch-names.outputs.tag}}
echo outputs.ref_branch ${{steps.branch-names.outputs.is_tag}}
if ${{steps.branch-names.outputs.base_ref_branch}} != 'production' then exit 0
- name: Some stuff
run: |
echo some stuff
Expand Down

0 comments on commit 7f1fc7d

Please sign in to comment.