This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import { graphql } from "@octokit/graphql"; | |
const OWNER = process.env.GITHUB_OWNER; | |
const REPO = process.env.GITHUB_REPO; | |
const GITHUB_TOKEN = process.env.GITHUB_TOKEN; | |
/** | |
* Return the last {num} branch IDs that start with the {prefix} | |
* | |
* Note: This will only retrieve the ref (branch) ID |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import * as vault from "node-vault"; | |
import * as aws4 from "aws4"; | |
interface VaultRequest { | |
role: string; | |
iam_request_url: string; | |
iam_request_body: string; | |
iam_request_headers: string; | |
iam_http_request_method: string; | |
} |