Run Schedule Update for GitHub Issues and Keep Notes Sync #101
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: Run Schedule Update for GitHub Issues and Keep Notes Sync | |
on: | |
push: | |
branches: ["main"] | |
schedule: | |
- cron: "0 7 * * *" | |
permissions: | |
contents: read | |
env: | |
EMAIL: ${{ secrets.EMAIL }} | |
PASSWORD: ${{ secrets.PASSWORD }} | |
GITHUB_TOKEN: ${{ secrets.GH_TOKEN }} | |
jobs: | |
build: | |
runs-on: windows-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Set up Python | |
uses: actions/setup-python@v4 | |
with: | |
python-version: "3.11" | |
- name: Run Update | |
run: | | |
pip install --upgrade pip | |
pip install -r requirements.txt | |
python main.py |