Cron Bump serverless Version #1276
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: Cron Bump serverless Version | |
| on: | |
| workflow_dispatch: | |
| schedule: | |
| # * is a special character in YAML so you have to quote this string | |
| - cron: '0 0 * * *' | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v2 | |
| - name: Set up Python 3.12 | |
| uses: actions/setup-python@v1 | |
| with: | |
| python-version: 3.12 | |
| - name: Install dependencies and run job | |
| run: | | |
| cd .github/automation | |
| python -m pip install --upgrade pip | |
| pip install -r requirements.txt | |
| python main.py | |
| env: | |
| GITHUB_TOKEN: ${{secrets.DNX_GITHUB_TOKEN}} |