Skip to content

Commit ce1980f

Browse files
committed
fix: pass audit values through environment
1 parent ca2616e commit ce1980f

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

‎actions/release-prepare/action.yml‎

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -164,6 +164,8 @@ runs:
164164
RELEASE_TOOL_PATH: ${{ steps.plan.outputs.tool-path }}
165165
RELEASE_PLAN_PATH: ${{ steps.plan.outputs.plan-path }}
166166
RELEASE_CONFIG_PATH: ${{ inputs.config-path }}
167+
RELEASE_REQUESTED_BY: ${{ inputs.actor }}
168+
RELEASE_TOOL_VERSION: ${{ steps.plan.outputs.tool-version }}
167169
run: |
168170
set -euo pipefail
169171
state_dir="${RUNNER_TEMP}/release-preparation-state"
@@ -198,11 +200,11 @@ runs:
198200
{
199201
echo "## Release preparation"
200202
echo
201-
printf -- '- Requested by: `%s`\n' "${{ inputs.actor }}"
203+
printf -- '- Requested by: `%s`\n' "${RELEASE_REQUESTED_BY}"
202204
printf -- '- Branch: `%s`\n' "${release_branch}"
203205
printf -- '- Planning base: `%s`\n' "${planning_base}"
204206
printf -- '- Version: `%s` (%s)\n' "${release_version}" "${release_channel}"
205-
printf -- '- release-tool: `%s`\n' "${{ steps.plan.outputs.tool-version }}"
207+
printf -- '- release-tool: `%s`\n' "${RELEASE_TOOL_VERSION}"
206208
printf -- '- ReleasePlan: `%s`\n' "${plan_id}"
207209
printf -- '- ReleasePreparation: `%s`\n' "${preparation_id}"
208210
echo "- Pull request: ${pr_url}"

0 commit comments

Comments
 (0)