Use GitLab (Developer App) to connect to your self-hosted GitLab instance.
Emit new event when a new audit event is created
Emit new event when a new commit is pushed to a branch
Emit new event when a commit receives a comment
Emit new event when an issue is created in a project
Create a new branch in the repository. See the documentation
Write Python and use any of the 350k+ PyPi packages available. Refer to the Pipedream Python docs to learn more.
Gets a single issue from repository. See the documentation
The GitLab (Developer App) API on Pipedream allows you to automate your development workflow by connecting GitLab with other services and creating custom, serverless workflows. With this API, you can trigger actions on events in GitLab, like pushes, merge requests, or issues, and perform operations such as creating new commits, managing issues, or deploying code. It simplifies your DevOps cycle, offers extensive automation capabilities, and integrates with numerous third-party tools, all from within Pipedream's seamless integration platform.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
gitlab_developer_app: {
type: "app",
app: "gitlab_developer_app",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://${this.gitlab_developer_app.$auth.base_api_url}/api/v4/user`,
headers: {
Authorization: `Bearer ${this.gitlab_developer_app.$auth.oauth_access_token}`,
},
})
},
})
Develop, run and deploy your Python code in Pipedream workflows. Integrate seamlessly between no-code steps, with connected accounts, or integrate Data Stores and manipulate files within a workflow.
This includes installing PyPI packages, within your code without having to manage a requirements.txt
file or running pip
.
Below is an example of using Python to access data from the trigger of the workflow, and sharing it with subsequent workflow steps:
def handler(pd: "pipedream"):
# Reference data from previous steps
print(pd.steps["trigger"]["context"]["id"])
# Return data for use in future steps
return {"foo": {"test":True}}