Identify old issues and PR #238
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: Identify old issues and PR | |
on: | |
schedule: | |
- cron: "0 0 * * 0" | |
jobs: | |
build: | |
name: Identify old issues and PR | |
runs-on: ubuntu-22.04 | |
env: | |
CI: true | |
steps: | |
- name: Setup Action | |
uses: actions/checkout@v4 | |
- name: Setup Node | |
uses: actions/setup-node@v4 | |
with: | |
node-version: 12.x | |
- name: SetUp python | |
uses: actions/setup-python@v4 | |
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 }} |