mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2026-08-17 01:26:16 +03:00
* Bump actions/checkout v7.0.0 => v7.0.1 * Bump actions/setup-node v6.4.0 => v7.0.0 * Bump actions/setup-python v6.3.0 => v7.0.0 * Bump denoland/setup-deno v2.0.4 => v2.0.5 * Bump github/codeql-action v4.36.3 => v4.37.7 * Bump pypa/gh-action-pypi-publish v1.14.0 => v1.14.2 * Bump zizmorcore/zizmor-action v0.5.7 => v0.6.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@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
|
|
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
|