Identify old issues and PR #308
This file contains hidden or 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: Identify old issues and PR | |
| permissions: | |
| contents: read | |
| issues: write | |
| pull-requests: write | |
| on: | |
| schedule: | |
| - cron: "0 0 * * 0" | |
| jobs: | |
| build: | |
| name: Identify old issues and PR | |
| runs-on: ubuntu-24.04 | |
| env: | |
| CI: true | |
| steps: | |
| - name: Setup Action | |
| uses: actions/checkout@v4 | |
| - name: SetUp python | |
| uses: actions/setup-python@v5 | |
| with: | |
| python-version: '3.x' | |
| - name: Install python dependencies | |
| run: pip install requests | |
| - name: Set Permission | |
| run: chmod +x scripts/Identify_Old_Issue_And_PR.py | |
| - name: Run Script | |
| run: python scripts/Identify_Old_Issue_And_PR.py ${{ secrets.SLACK_WEBHOOK }} |