{"repo":"octokit/request-action","free":true,"listed":false,"github":"https://github.com/octokit/request-action","clone":"git clone https://github.com/octokit/request-action.git","description":"A GitHub Action to send arbitrary requests to GitHub's REST API","language":"JavaScript","stars":444,"topics":["octokit-js","rest-api","tooling","hacktoberfest"],"license":"MIT","category":"api-integrations-sdks","readme_excerpt":"Octokit Request Action A GitHub Action to send arbitrary requests to GitHub's REST API Usage Minimal example More complex examples involving POST , setting custom media types, and parsing output data Handle errors Inputs To use request body parameters, simply pass in an input matching the parameter name. See previous examples. Due to how request parameters are processed, it may be necessary in some cases to first encode the value as either JSON or a block scalar: Debugging To see additional debug logs, create a secret with the name: ACTIONS STEP DEBUG and value true . How it works octokit/request-action is using @octokit/request internally with the addition that requests are automatically authenticated using the GITHUB TOKEN environment variable. It is required to prevent rate limiting, as all anonymous requests from the same origin count against the same low rate. The actions sets data output to the response data. The action also sets the headers (again, to a JSON string) and status output properties. To access deep values of outputs.data and outputs.headers , check out the fromJson function. Warnings The GitHub Actions runners are currently showing warnings when using this action that look like: The reason for this warning is because the repository key is not listed as a possible value in actions.yml . This warning will appear for any key used under the with except route and mediaType . Due to the flexible nature of the required inputs depending on the route , not all of th","default_branch":null,"files":null,"tree":[],"storefront":"/r/octokit","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/octokit/request-action/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}