Skip to content

Commit

Permalink
Updated report API payload body
Browse files Browse the repository at this point in the history
  • Loading branch information
tombui99 committed May 2, 2024
1 parent bf00ce3 commit 0014c09
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -161,4 +161,4 @@ runs:
curl \
-X POST 'https://asia-east2-sswlinkauditor-c1131.cloudfunctions.net/api/createReportIssue' \
-H 'Content-Type: application/json' \
-d "{\"url\": \"${{ inputs.url }}\", \"dateReported\": \"$(date +"%Y-%m-%d %H:%M:%S")\", \"workflowId\": \"${{ github.run_id }}\", \"jobStatus\": \"${{ job.status }}\"}" \
-d "{\"url\": \"${{ inputs.url }}\", \"dateReported\": \"$(date +'%Y-%m-%d %H:%M:%S')\", \"repository\": \"${{ github.repository }}\", \"triggeringActor\": \"${{ github.actor }}\", \"repository_owner\": \"${{ github.repository_owner }}\", \"CodeAuditorToken\": \"${{ inputs.token }}\", \"workflowURL\": \"https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }}\"}"

0 comments on commit 0014c09

Please sign in to comment.