Label Stale PRs #155
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: Label Stale PRs | |
on: | |
schedule: | |
- cron: '0 0 * * *' # runs every day at midnight | |
jobs: | |
autoClosePr: | |
name: auto close pr | |
runs-on: ubuntu-latest | |
permissions: | |
contents: read | |
pull-requests: write | |
steps: | |
- name: Check-out main repository | |
uses: actions/checkout@v4 | |
- name: Label Stale/Abandoned | |
run: python .github/bin/label_abandoned_prs.py | |
env: | |
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
shell: sh |