ci(dependencies): use setup-python and enable cron-based jobs

This commit is contained in:
Carlo Sala 2024-05-09 17:41:59 +02:00
parent eb2ff84a2c
commit eff648aab0

View File

@ -1,8 +1,8 @@
name: Update dependencies name: Update dependencies
on: on:
workflow_dispatch: {} workflow_dispatch: {}
# schedule: schedule:
# - cron: '34 3 * * */8' - cron: '34 3 * * */8'
jobs: jobs:
check: check:
@ -18,6 +18,11 @@ jobs:
with: with:
app_id: ${{ secrets.OHMYZSH_APP_ID }} app_id: ${{ secrets.OHMYZSH_APP_ID }}
private_key: ${{ secrets.OHMYZSH_APP_PRIVATE_KEY }} private_key: ${{ secrets.OHMYZSH_APP_PRIVATE_KEY }}
- name: Setup Python
uses: actions/setup-python@v5
with:
python-version: "3.12"
cache: "pip"
- name: Process dependencies - name: Process dependencies
env: env:
GH_TOKEN: ${{ steps.generate_token.outputs.token }} GH_TOKEN: ${{ steps.generate_token.outputs.token }}