Skip to content

Update depots

Update depots #2905

Workflow file for this run

name: Update depots
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
schedule:
- cron: '*/5 * * * *'
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: '3.x'
- name: Install dependencies
run: |
pip install -r requirements.txt
- name: Run crontab.py
uses: nick-fields/retry@v3
with:
timeout_minutes: 5
max_attempts: 3
command: python crontab.py
- name: Push to built branch
uses: Automattic/action-commit-to-branch@master
with:
branch: 'main'
commit_message: 'Update depots'
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}