rickub/clipublic Fork
⑂ 5bbf166
Commits
⬇ Clone ▾
git clone https://git.rickub.com/rickub/cli.git
git clone ssh://git@rickub.com/rickub/cli.git

Host key fingerprint (ed25519): SHA256:iycHnxEyq0Q7uyVpB7JlznP0G7JrTPXLYRcAU5CSLhc — verify it before your first connect.

Download ZIP

ci: stop reading GITHUB_WORKFLOW, which rickub's runner does not exportUnverified

The release-notes step ran under set -u and died on the unbound
variable; the workflow name is now a literal step env.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01FgkcT3UPxwxukBKojB5eg4
Olivier Girardot committed 2026-09-02T21:11:32+02:00 Browse files
5bbf166 parent: 25cc220
modified .github/workflows/rc.yml +3 -1
@@ -64,6 +64,8 @@ jobs:
6464 - name: Release notes
6565 id: notes
6666 env:
67+ # rickub's runner does not export GITHUB_WORKFLOW; name it here.
68+ WORKFLOW: RC
6769 RC_VERSION: ${{ steps.version.outputs.version }}
6870 BASE_VERSION: ${{ steps.version.outputs.base }}
6971 run: |
@@ -72,7 +74,7 @@ jobs:
7274 echo "Automated release candidate for the upcoming **v${BASE_VERSION}**."
7375 echo
7476 echo "- Commit: \`${GITHUB_SHA}\`"
75- echo "- Build: run #${GITHUB_RUN_NUMBER} of \`${GITHUB_WORKFLOW}\`"
77+ echo "- Build: run #${GITHUB_RUN_NUMBER} of \`${WORKFLOW}\`"
7678 echo "- Version stamp: \`${RC_VERSION}\` (\`rickub version\`)"
7779 echo
7880 echo "> This is a prerelease built automatically from \`main\`."
@@ -64,6 +64,8 @@ jobs:
64 - name: Release notes64 - name: Release notes
65 id: notes65 id: notes
66 env:66 env:
67+ # rickub's runner does not export GITHUB_WORKFLOW; name it here.
68+ WORKFLOW: RC
67 RC_VERSION: ${{ steps.version.outputs.version }}69 RC_VERSION: ${{ steps.version.outputs.version }}
68 BASE_VERSION: ${{ steps.version.outputs.base }}70 BASE_VERSION: ${{ steps.version.outputs.base }}
69 run: |71 run: |
@@ -72,7 +74,7 @@ jobs:
72 echo "Automated release candidate for the upcoming **v${BASE_VERSION}**."74 echo "Automated release candidate for the upcoming **v${BASE_VERSION}**."
73 echo75 echo
74 echo "- Commit: \`${GITHUB_SHA}\`"76 echo "- Commit: \`${GITHUB_SHA}\`"
75- echo "- Build: run #${GITHUB_RUN_NUMBER} of \`${GITHUB_WORKFLOW}\`"77+ echo "- Build: run #${GITHUB_RUN_NUMBER} of \`${WORKFLOW}\`"
76 echo "- Version stamp: \`${RC_VERSION}\` (\`rickub version\`)"78 echo "- Version stamp: \`${RC_VERSION}\` (\`rickub version\`)"
77 echo79 echo
78 echo "> This is a prerelease built automatically from \`main\`."80 echo "> This is a prerelease built automatically from \`main\`."
modified .github/workflows/release.yml +3 -1
@@ -150,6 +150,8 @@ jobs:
150150 - name: Release notes
151151 id: notes
152152 env:
153+ # rickub's runner does not export GITHUB_WORKFLOW; name it here.
154+ WORKFLOW: Release
153155 TAG: ${{ steps.check.outputs.tag }}
154156 run: |
155157 set -euo pipefail
@@ -157,7 +159,7 @@ jobs:
157159 echo "## rickub ${TAG}"
158160 echo
159161 echo "- Commit: \`${GITHUB_SHA}\` (\`${GITHUB_REF_NAME}\`)"
160- echo "- Built by \`${GITHUB_WORKFLOW}\` run #${GITHUB_RUN_NUMBER}"
162+ echo "- Built by \`${WORKFLOW}\` run #${GITHUB_RUN_NUMBER}"
161163 echo
162164 echo '### Install'
163165 echo
@@ -150,6 +150,8 @@ jobs:
150 - name: Release notes150 - name: Release notes
151 id: notes151 id: notes
152 env:152 env:
153+ # rickub's runner does not export GITHUB_WORKFLOW; name it here.
154+ WORKFLOW: Release
153 TAG: ${{ steps.check.outputs.tag }}155 TAG: ${{ steps.check.outputs.tag }}
154 run: |156 run: |
155 set -euo pipefail157 set -euo pipefail
@@ -157,7 +159,7 @@ jobs:
157 echo "## rickub ${TAG}"159 echo "## rickub ${TAG}"
158 echo160 echo
159 echo "- Commit: \`${GITHUB_SHA}\` (\`${GITHUB_REF_NAME}\`)"161 echo "- Commit: \`${GITHUB_SHA}\` (\`${GITHUB_REF_NAME}\`)"
160- echo "- Built by \`${GITHUB_WORKFLOW}\` run #${GITHUB_RUN_NUMBER}"162+ echo "- Built by \`${WORKFLOW}\` run #${GITHUB_RUN_NUMBER}"
161 echo163 echo
162 echo '### Install'164 echo '### Install'
163 echo165 echo