-
Notifications
You must be signed in to change notification settings - Fork 61
Open
Labels
Status: Up for grabsIssues that are ready to be worked on by anyoneIssues that are ready to be worked on by anyoneType: SupportAny questions, information, or general needs around the SDK or GitHub APIsAny questions, information, or general needs around the SDK or GitHub APIs
Description
I'm trying to add a lightweight tag (according this doc) on my commit, but I have an error...
The action:
- uses: octokit/request-action@v2.x
id: push_tag
with:
route: POST /repos/{owner}/{repo}/git/tags
owner: novaittestteam
repo: ntk.mob
body: ${{ toJSON(env.REQUEST_BODY) }}
mediaType: |
format: raw
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
REQUEST_BODY: |
{"tag":"test","message":"Auto API Call","object":"4c64ded9bed5633f4918ea0284be44c4f85541c4","type":"commit","tagger":{"name":"AutoAPICall","email":"support@test.com"}}
The error:
< 422 322ms
Error: Invalid request.
"message", "object", "tag", "type" weren't supplied.
Where am I wrong? How can I see the whole response body returned from API?
Metadata
Metadata
Assignees
Labels
Status: Up for grabsIssues that are ready to be worked on by anyoneIssues that are ready to be worked on by anyoneType: SupportAny questions, information, or general needs around the SDK or GitHub APIsAny questions, information, or general needs around the SDK or GitHub APIs
Type
Projects
Status
🔥 Backlog