library
turbot/github
- Add Issue Assignees
- Block User in Organization
- Close Issue
- Close Pull Request
- Create Branch
- Create Issue
- Create Issue Comment
- Create Organization Invitation
- Create Pull Request
- Create Pull Request Comment
- Create Repository
- Delete Branch
- Delete Issue Comment
- Get branch
- Get Current User
- Get Issue by Number
- Get Pull Request by Number
- Get Repository by Full Name
- Get Repository Owner
- Get User by Login
- List Issues
- List Pull Requests
- Remove organization member
- Search Issues
- Search Pull Requests
- Search Repositories
- Test Add Issue Assignees
- Test Branch Operations
- Test Create Issue
- Test Get Current User
- Test Get Repository by Full Name
- Test Get Repository Owner
- Test Get User by Login
- Test List Issues
- Test List Pull Requests
- Test Search Issues
- Test Search Pull Requests
- Test Search Repositories
- Unblock User in Organization
- Update Issue
- Update Issue Comment
- Update Pull Request
Get Involved
Version
List Pull Requests
List pull requests in the repository.
Run the pipeline
To run this pipeline from your terminal:
flowpipe pipeline run github.pipeline.list_pull_requests \ --arg 'repository_owner=<string>' \ --arg 'repository_name=<string>'
Use this pipeline
To call this pipeline from your pipeline, use a step:
step "pipeline" "step_name" { pipeline = github.pipeline.list_pull_requests args = { repository_owner = <string> repository_name = <string> }}
Params
Name | Type | Required | Description | Default |
---|---|---|---|---|
cred | string | Yes | Name for credentials to use. If not provided, the default credentials will be used. | default |
repository_owner | string | Yes | The organization or user name. | - |
repository_name | string | Yes | The name of the repository. | - |
pull_request_limit | number | Yes | Returns the first n elements from the list. | 20 |
pull_request_state | string | Yes | The state to filter the pull requests by. Allowed values are CLOSED, MERGED and OPEN. Defaults to OPEN. | OPEN |
Outputs
Name | Description |
---|---|
pull_requests | List of pull requests. |