Merge pull request #1 from RelationalAI/nsh-add-min-max #9
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Test | |
on: | |
push: | |
branches: | |
- main | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- name: External Repo | |
id: external | |
uses: RelationalAI/abandoned@main | |
with: | |
days: 7 | |
repository: RelationalAI/rai-cli | |
token: ${{ github.token }} | |
- run: | | |
length=$(jq '. | length' <<< ${{toJson(steps.external.outputs.pulls) }}) | |
echo Found $length abandoned PRs | |
- name: Default Repo | |
id: default | |
uses: RelationalAI/abandoned@main | |
with: | |
days: 7 | |
token: ${{ github.token }} | |
- run: | | |
length=$(jq '. | length' <<< ${{toJson(steps.default.outputs.pulls) }}) | |
echo Found $length abandoned PRs |