1
0
mirror of https://github.com/ohmyzsh/ohmyzsh.git synced 2024-11-22 22:06:09 +08:00

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
on:
workflow_dispatch: {}
# schedule:
# - cron: '34 3 * * */8'
schedule:
- cron: '34 3 * * */8'
jobs:
check:
@ -18,6 +18,11 @@ jobs:
with:
app_id: ${{ secrets.OHMYZSH_APP_ID }}
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
env:
GH_TOKEN: ${{ steps.generate_token.outputs.token }}