Merge pull request #2 from RelationalAI/nsh-upgrade-actions #10
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 |