Run fast, secure, and scalable CI pipelines on your own infrastructure
Returns basic details about the user account that sent the request
Write custom Node.js code and use any of the 400k+ npm packages available. Refer to the Pipedream Node docs to learn more.
With the Buildkite API, you can:
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
buildkite: {
type: "app",
app: "buildkite",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.buildkite.com/v2/user`,
headers: {
Authorization: `Bearer ${this.buildkite.$auth.api_token}`,
},
})
},
})
// To use previous step data, pass the `steps` object to the run() function
export default defineComponent({
async run({ steps, $ }) {
// Return data to use it in future steps
return steps.trigger.event
},
})