File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -85,19 +85,19 @@ jobs:
8585 payload = {
8686 "iat": int(time.time()),
8787 "exp": int(time.time()) + 600, # 10-minute expiration
88- "iss": " $APP_ID"
88+ "iss": $APP_ID
8989 }
9090 print(jwt.encode(payload, private_key, algorithm="RS256"))
9191 EOF
9292 )
9393
9494 # Get Installation ID
95- INSTALLATION_ID=$(curl -s -X GET -H "Authorization: Bearer \" $JWT\" " \
95+ INSTALLATION_ID=$(curl -s -X GET -H "Authorization: Bearer $JWT" \
9696 -H "Accept: application/vnd.github.v3+json" \
9797 https://api.github.com/app/installations | jq -r '.[0].id')
9898
9999 # Request Installation Access Token
100- ACCESS_TOKEN=$(curl -s -X POST -H "Authorization: Bearer \" $JWT\" " \
100+ ACCESS_TOKEN=$(curl -s -X POST -H "Authorization: Bearer $JWT" \
101101 -H "Accept: application/vnd.github.v3+json" \
102102 https://api.github.com/app/installations/$INSTALLATION_ID/access_tokens | jq -r '.token')
103103
@@ -165,7 +165,7 @@ jobs:
165165 run : |
166166 diff_output=$(git diff)
167167 if [ -n "$diff_output" ]; then
168- echo uncommitted_changes="$ diff_output" >> "$GITHUB_OUTPUT"
168+ echo " uncommitted_changes=$(echo $ diff_output) " >> "$GITHUB_OUTPUT"
169169 fi
170170
171171 - name : Stage changes
You can’t perform that action at this time.
0 commit comments