Skip to content

Update data

Update data #63

Workflow file for this run

name: Update data
on:
workflow_dispatch:
schedule:
- cron: 0 0 * * 0
jobs:
update_cpython_tags:
runs-on: ubuntu-latest
name: Update ffmpeg JSON binaries
permissions:
contents: write
pull-requests: write
steps:
- name: Checkout code
uses: actions/checkout@v4
with:
ref: master
- name: Setup Python
uses: MatteoH2O1999/setup-python@v4
with:
python-version-file: pyproject.toml
- name: Install package in editable mode
run: pip install -e .
- name: Install dependencies
run: pip install -r ./requirements-dev.txt
- name: Update ffmpeg binaries JSON
id: update
run: python ./.github/scripts/update_binaries.py
- name: Create or update pull request
uses: peter-evans/create-pull-request@v7
with:
commit-message: Update ffmpeg binaries from v${{ steps.update.outputs.OLD }} to v${{ steps.update.outputs.NEW }}
branch: create-pull-request/binaries-json
delete-branch: true
title: Update ffmpeg binaries from v${{ steps.update.outputs.OLD }} to v${{ steps.update.outputs.NEW }}
body: |
Automated JSON data update by [update_data.yml](https://github.com/MatteoH2O1999/pyffmpeg/tree/master/.github/workflows/update_data.yml)
assignees: ${{ github.repository_owner }}
author: github-actions[bot] <github-actions[bot]@users.noreply.github.com>