Skip to content

Commit 24a7b26

Browse files
authoredJun 7, 2024··
Merge pull request #22 from github/fix-release-input
use ref_name instead of ref when cutting a release
2 parents 0b69916 + 085ed64 commit 24a7b26

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed
 

‎.github/workflows/policies-release.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ jobs:
1010
uses: ./.github/workflows/release.yml
1111
with:
1212
chart_name: policy-controller-policies
13-
chart_release: ${{ github.ref }}
13+
chart_release: ${{ github.ref_name }}
1414
permissions:
1515
attestations: write
1616
contents: read

‎.github/workflows/policy-controller-release.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ jobs:
1010
uses: ./.github/workflows/release.yml
1111
with:
1212
chart_name: policy-controller
13-
chart_release: ${{ github.ref }}
13+
chart_release: ${{ github.ref_name }}
1414
permissions:
1515
attestations: write
1616
contents: read

0 commit comments

Comments
 (0)
Please sign in to comment.