Skip to content

oriarditi/list-pull-requests

 
 

Repository files navigation

list pull requests action

Put outputs pull requests list.

Inputs

token

github token.

labels

List pull requests that match the specified label.
json array string (ex. ["WFR","ASAP"])

skip_hour

Pull requests within this hour will not be listed.

Outputs

pulls

List pull requests string.
format

Pull Request Title 1
https://github.com/buildsville/list-pull-requests/pull/1
---
Pull Request Title 2
https://github.com/buildsville/list-pull-requests/pull/2

pulls

List pull requests numbers.
format

[5, 12, 44]

Example usage

name: remind review
on:
  schedule:
    - cron: '0 15 * * *'
jobs:
  send_pull_requests:
    runs-on: ubuntu-latest
    name: A job to say hello
    steps:
      - name: listPullRequests
        uses: buildsville/list-pull-requests@v1
        id: list
        with:
          token: ${{secrets.GITHUB_TOKEN}}
          labels: '["WFR"]'
          skip_hour: '24'
      - name: output
        run: echo '${{ steps.list.outputs.pulls }}'

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • TypeScript 53.2%
  • JavaScript 46.8%