Skip to content

Commit

Permalink
chore: max release please secrets (#337)
Browse files Browse the repository at this point in the history
  • Loading branch information
OGKevin authored Mar 10, 2024
1 parent 77c9034 commit 1743303
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions .github/workflows/release-please.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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<<EOF'
cat /secrets/github-private-key | base64 -d
echo "$private_key"
echo EOF
} >> "$GITHUB_ENV"
- name: Get token
Expand Down

0 comments on commit 1743303

Please sign in to comment.