Clean User PR Comment #8797
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: Clean User PR Comment | |
on: | |
schedule: | |
- cron: '0 */1 * * *' # 매일, 매 시간 마다 실행 | |
jobs: | |
clean-comments: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout Repository | |
uses: actions/checkout@v4 | |
- name: Set up Python | |
uses: actions/setup-python@v5 | |
with: | |
python-version: '3.x' | |
- name: Install dependencies | |
run: | | |
python -m pip install --upgrade pip | |
pip install PyGithub | |
- name: Run Python script | |
run: python ./script/clean_comments.py ${{ secrets.GITHUB_TOKEN }} ${{ github.repository }} |