outputs
All checks were successful
Tofu Plan k8s-wheatley / tofu-plan-k8s-wheatley (pull_request) Successful in 23s
All checks were successful
Tofu Plan k8s-wheatley / tofu-plan-k8s-wheatley (pull_request) Successful in 23s
This commit is contained in:
parent
23f7449205
commit
a27e9e7aab
1 changed files with 2 additions and 2 deletions
|
|
@ -63,7 +63,7 @@ jobs:
|
|||
comment_id=$(echo "$response" | jq -r \
|
||||
'.[] | select(.body | test("${{ forge.workflow }}")) | .id' | head -n 1)
|
||||
|
||||
echo "comment_id=$comment_id"
|
||||
echo "$comment_id"
|
||||
|
||||
- name: Add comment
|
||||
id: comment
|
||||
|
|
@ -93,7 +93,7 @@ jobs:
|
|||
run: |
|
||||
payload=$(jq -Rs --arg body "$COMMENT_BODY" '{body: $body}' <<< "$COMMENT_BODY")
|
||||
|
||||
if [ -n "${{ steps.fetch.outputs.comment_id }}" ] && [ "${{ steps.fetch.outputs.comment_id }}" != "null" ]; then
|
||||
if [ -n "${{ steps.fetch.outputs.stdout }}" ] && [ "${{ steps.fetch.outputs.stdout }}" != "null" ]; then
|
||||
curl -s -X PATCH \
|
||||
-H "Authorization: token ${{ secrets.FORGEJO_TOKEN }}" \
|
||||
-H "Content-Type: application/json" \
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue