From 17433031ef9fe0ad7b35084deb28ec31f4814fa4 Mon Sep 17 00:00:00 2001 From: Kevin Hellemun <17928966+OGKevin@users.noreply.github.com> Date: Sun, 10 Mar 2024 15:11:42 +0100 Subject: [PATCH] chore: max release please secrets (#337) --- .github/workflows/release-please.yaml | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release-please.yaml b/.github/workflows/release-please.yaml index 51e8c48..95c3a63 100644 --- a/.github/workflows/release-please.yaml +++ b/.github/workflows/release-please.yaml @@ -9,10 +9,17 @@ jobs: steps: - name: Setup Secrets run: | - echo GITHUB_APP_ID="$(cat /secrets/github-app-id)" >> "$GITHUB_ENV" + github_app_id="$(cat /secrets/github-app-id)" + echo "::add-mask::$github_app_id" + echo "GITHUB_APP_ID=$github_app_id" >> "$GITHUB_ENV" + private_key="$(cat /secrets/github-private-key | base64 -d)" + while read -r line; + do + echo "::add-mask::${line}"; + done <<< $private_key { echo 'GITHUB_PRIVATE_KEY<> "$GITHUB_ENV" - name: Get token