Cron Bump Terraform Version #1313
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: Cron Bump Terraform Version | |
on: | |
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.8 | |
uses: actions/setup-python@v1 | |
with: | |
python-version: 3.8 | |
- 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}} |