1
0
Fork 0
mirror of https://github.com/ohmyzsh/ohmyzsh.git synced 2024-11-16 02:40:08 +00:00
ohmyzsh/.github/workflows/dependencies.yml
2023-12-20 19:38:25 +01:00

26 lines
782 B
YAML

name: Update dependencies
on:
workflow_dispatch: {}
# schedule:
# - cron: '34 3 * * */8'
jobs:
check:
name: Check for updates
runs-on: ubuntu-latest
steps:
- name: Checkout
if: github.repository == 'ohmyzsh/ohmyzsh'
uses: actions/checkout@v4
- name: Authenticate as @ohmyzsh
uses: ohmyzsh/github-app-token@v2
with:
app_id: ${{ secrets.OHMYZSH_APP_ID }}
private_key: ${{ secrets.OHMYZSH_APP_PRIVATE_KEY }}
- name: Process dependencies
env:
GITHUB_TOKEN: ${{ steps.generate_token.outputs.token }}
TMP_DIR: ${{ env.RUNNER_TEMP }}
run: |
gh auth login --with-token <<< "${GITHUB_TOKEN}"
python3 .github/workflows/dependencies/updater.py