with GitHub and Formatting?
Emit new event when a (classic) project card is created or moved to a specific column. For Projects V2 use New Issue with Status trigger. More information here
Emit new events when new gists are created by the authenticated user. See the documentatoion
Emit new event when a new comment is added to an issue or pull request
Emit new event when you are @mentioned in a new commit, comment, issue or pull request. See the documentation
Emit new event when the authenticated user receives a new notification. See the documentation
Emit new event when a pull request is opened or updated
Emit new event when the authenticated user is added to a new organization. See the documentation
Emit new event when a new repository is created or when the authenticated user receives access. See the documentation
Emit new event for new review request notifications. See the documentation
Emit new event for security alert notifications. See the documentation
Emit new events when the specified user stars a repository. See the documentation
Emit new event when the authenticated user is added to a new team. See the documentation
Emit new event when a job in a workflow is completed, regardless of whether the job was successful or unsuccessful.
Emit new event when a Github Actions workflow run completes
Emit new event when a project item is tagged with a specific status. Currently supports Organization Projects only. More information here
Find issues and pull requests by state and keyword. See the documentation
Allows you to add a new gist with one or more files. See the documentation
Get the duration between two dates in days, hours, minutes, and seconds along with checking if they are the same.
Format a date string to another date string. For more examples on formatting, see the Sugar Date Format documentation.
Create or update a file in a repository. See the documentation
Creates a new pull request for a specified repository. See the documentation
Format a number to a new style. Does not perform any rounding or padding of the number.
Creates a new repository for the authenticated user. See the documentation
Creates a new workflow dispatch event. See the documentation
Disables a workflow and sets the state of the workflow to disabled_manually. See the documentation
Enables a workflow and sets the state of the workflow to active. See the documentation
Gather a full snapshot of the authenticated GitHub actor, combining /user, /user/orgs, and /user/teams. Returns profile metadata (login, name, email, company, plan, creation timestamps) and trimmed lists of organizations and teams for quick role awareness. Helpful when you need to validate which user is calling the API, adapt behavior based on their org/team memberships, or provide LLMs with grounding before repository operations. See the documentation
Find a match for a regular expression pattern. Returns all matched groups with start and end position.
Get assignees for an issue in a Gihub repo. See the documentation
Find an email address out of a text field. Finds the first email address only.
Get the content of a file or directory in a specific repository. See the documentation
Find a number out of a text field. Finds the first number only.
Get information for a specific repository. See the documentation
Find a complete phone number out of a text field. Finds the first number only.
Get reviewers for a PR (see documentation) or Commit SHA (see documentation).
Find a web URL out of a text field. Finds the first URL only.
Replace all instances of any character, word or phrase in the text with another character, word or phrase.
Lists public gists for the specified user. See the documentation
Split the text on a character or word and return one or all segments
Allows you to update a gist's description and to update, delete, or rename gist files. See the documentation
Update the status of an item in the selected Project (V2). See the documentation
The GitHub API is a powerful gateway to interaction with GitHub's vast web of data and services, offering a suite of endpoints to manipulate and retrieve information on repositories, pull requests, issues, and more. Harnessing this API on Pipedream, you can orchestrate automated workflows that respond to events in real-time, manage repository data, streamline collaborative processes, and connect GitHub with other services for a more integrated development lifecycle.
import { axios } from "@pipedream/platform" export default defineComponent({ props: { github: { type: "app", app: "github", } }, async run({steps, $}) { return await axios($, { url: `https://api.github.com/user`, headers: { Authorization: `Bearer ${this.github.$auth.oauth_access_token}`, "X-GitHub-Api-Version": `2022-11-28`, }, }) }, }) export default defineComponent({ async run({ steps, $ }) { const text = ' Hello world! '; return text.trim() }, })