mirror of
https://code.forgejo.org/actions/setup-node.git
synced 2024-11-24 16:50:59 -05:00
9 lines
321 B
JavaScript
9 lines
321 B
JavaScript
import { endpoint } from "@octokit/endpoint";
|
|
import getUserAgent from "universal-user-agent";
|
|
import { VERSION } from "./version";
|
|
import withDefaults from "./with-defaults";
|
|
export const request = withDefaults(endpoint, {
|
|
headers: {
|
|
"user-agent": `octokit-request.js/${VERSION} ${getUserAgent()}`
|
|
}
|
|
});
|