Skip to content

Commit 1c45793

Browse files
committed
fix: $GITHUB_REF_NAME to ${{ github.ref_name }}
1 parent 0abefea commit 1c45793

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

.github/workflows/az_acr_push.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ jobs:
2525
uses: actions/checkout@v4
2626
- name: Configure branch name
2727
id: branch_name
28-
run: echo "GH_REF_NAME=${GITHUB_REF_NAME//\//-}" >> $GITHUB_OUTPUT
28+
run: echo "GH_REF_NAME=${${{ github.ref_name }}//\//-}" >> $GITHUB_OUTPUT
2929
- name: Set up Docker Buildx
3030
uses: docker/setup-buildx-action@v3
3131
- name: Log into registry

.github/workflows/az_acr_test.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
uses: actions/checkout@v4
1818
- name: Configure branch name
1919
id: branch_name
20-
run: echo "GH_REF_NAME=${GITHUB_REF_NAME//\//-}" >> $GITHUB_OUTPUT
20+
run: echo "GH_REF_NAME=${${{ github.ref_name }}//\//-}" >> $GITHUB_OUTPUT
2121
- name: Set up Docker Buildx
2222
uses: docker/setup-buildx-action@v3
2323
- name: Log into registry

.github/workflows/k8s_test.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ jobs:
4040

4141
- name: Configure branch name
4242
id: branch_name
43-
run: echo "GH_REF_NAME=${GITHUB_REF_NAME//\//-}" >> $GITHUB_OUTPUT
43+
run: echo "GH_REF_NAME=${${{ github.ref_name }}//\//-}" >> $GITHUB_OUTPUT
4444

4545
- name: GitHub Configuration
4646
run: git config --global url."https://oauth2:${{ secrets.GH_TOKEN }}@github.com".insteadOf https://github.com

0 commit comments

Comments
 (0)