Skip to content

Commit 3e3376f

Browse files
committed
fix: env var no longer referencing another
1 parent 831279d commit 3e3376f

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

.github/workflows/rename-module.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,9 @@ jobs:
1515
rename-module:
1616
runs-on: ubuntu-latest
1717
env:
18-
source_commit: ${{ inputs.source_commit || '2bd6bd01d2e8561dd7fc21b631f4a34ac16627a1' }}
19-
output_branch: "${{ github.ref_name }}_auto-rename-module-${{ env.source_commit }}"
18+
source_commit: "${{ inputs.source_commit || '2bd6bd01d2e8561dd7fc21b631f4a34ac16627a1' }}"
19+
# env variables cannot reference others so we have to duplicate the ||
20+
output_branch: "${{ github.ref_name }}_auto-rename-module-${{ inputs.source_commit || '2bd6bd01d2e8561dd7fc21b631f4a34ac16627a1' }}"
2021
steps:
2122
- uses: actions/checkout@v4
2223
with:

0 commit comments

Comments
 (0)