mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2025-12-07 01:21:48 +08:00
Some checks failed
Test and Deploy installer / Test installer (macos-latest) (push) Has been cancelled
Test and Deploy installer / Test installer (ubuntu-latest) (push) Has been cancelled
CI / Run tests (push) Has been cancelled
Scorecard supply-chain security / Scorecard analysis (push) Has been cancelled
Test and Deploy installer / Deploy installer in install.ohmyz.sh (push) Has been cancelled
Update dependencies / Check for updates (push) Has been cancelled
Bumps [actions/create-github-app-token](https://github.com/actions/create-github-app-token) from 2.1.4 to 2.2.0.
- [Release notes](https://github.com/actions/create-github-app-token/releases)
- [Commits](6701853927...7e473efe3c)
---
updated-dependencies:
- dependency-name: actions/create-github-app-token
dependency-version: 2.2.0
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
45 lines
1.4 KiB
YAML
45 lines
1.4 KiB
YAML
name: Update dependencies
|
|
on:
|
|
workflow_dispatch: {}
|
|
schedule:
|
|
- cron: "0 6 * * 0"
|
|
|
|
permissions:
|
|
contents: write
|
|
|
|
jobs:
|
|
check:
|
|
name: Check for updates
|
|
runs-on: ubuntu-latest
|
|
if: github.repository == 'ohmyzsh/ohmyzsh'
|
|
steps:
|
|
- name: Harden the runner (Audit all outbound calls)
|
|
uses: step-security/harden-runner@95d9a5deda9de15063e7595e9719c11c38c90ae2 # v2.13.2
|
|
with:
|
|
egress-policy: audit
|
|
|
|
- name: Checkout
|
|
uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6.0.0
|
|
with:
|
|
fetch-depth: 0
|
|
- name: Authenticate as @ohmyzsh
|
|
id: generate-token
|
|
uses: actions/create-github-app-token@7e473efe3cb98aa54f8d4bac15400b15fad77d94 # v2.2.0
|
|
with:
|
|
app-id: ${{ secrets.OHMYZSH_APP_ID }}
|
|
private-key: ${{ secrets.OHMYZSH_APP_PRIVATE_KEY }}
|
|
- name: Setup Python
|
|
uses: actions/setup-python@e797f83bcb11b83ae66e0230d6156d7c80228e7c # v6.0.0
|
|
with:
|
|
python-version: "3.12"
|
|
cache: "pip"
|
|
- name: Process dependencies
|
|
env:
|
|
GH_TOKEN: ${{ steps.generate-token.outputs.token }}
|
|
GIT_APP_NAME: ohmyzsh[bot]
|
|
GIT_APP_EMAIL: 54982679+ohmyzsh[bot]@users.noreply.github.com
|
|
TMP_DIR: ${{ runner.temp }}
|
|
run: |
|
|
pip install -r .github/workflows/dependencies/requirements.txt
|
|
python3 .github/workflows/dependencies/updater.py
|