mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2026-06-12 13:54:28 +00:00
* Bump actions/checkout v6.0.2 => v6.0.3 * Bump docker/setup-qemu-action v4.0.0 => v4.1.0 * Bump github/codeql-action v4.35.5 => v4.36.2 Authored by: dlp-bot
33 lines
835 B
YAML
33 lines
835 B
YAML
name: Update wiki
|
|
on:
|
|
schedule:
|
|
- cron: '22 22 * * *'
|
|
workflow_dispatch:
|
|
|
|
permissions: {}
|
|
|
|
concurrency:
|
|
group: wiki
|
|
cancel-in-progress: true
|
|
|
|
jobs:
|
|
update_wiki:
|
|
name: Update wiki
|
|
if: github.ref == 'refs/heads/master' && github.repository == 'yt-dlp/yt-dlp'
|
|
permissions:
|
|
contents: write # Needed to git-push to the wiki
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3
|
|
with:
|
|
repository: yt-dlp/yt-dlp-wiki
|
|
ref: master
|
|
fetch-depth: 0
|
|
persist-credentials: true # Needed to git-push to the wiki
|
|
|
|
- name: Push to wiki
|
|
run: |
|
|
git remote add upstream https://github.com/yt-dlp/yt-dlp.wiki.git
|
|
git fetch upstream
|
|
git push --force upstream master
|