Skip to content

chore(deps): update dependency types-openpyxl to v3.1.5.20241225 #285

chore(deps): update dependency types-openpyxl to v3.1.5.20241225

chore(deps): update dependency types-openpyxl to v3.1.5.20241225 #285

Workflow file for this run

# Copyright © Michal Čihař <michal@weblate.org>
#
# SPDX-License-Identifier: CC0-1.0
# This file is maintained in https://github.com/WeblateOrg/meta/
name: uv lock update
on:
push:
branches:
- renovate/**
paths:
- pyproject.toml
- .github/workflows/uv-upgrade.yml
schedule:
- cron: 30 6 * * 0
workflow_dispatch:
pull_request:
paths:
- pyproject.toml
- .github/workflows/uv-upgrade.yml
permissions:
contents: write
jobs:
uv-update:
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v4
if: github.event_name != 'pull_request'
with:
token: ${{ secrets.WEBLATE_CI_TOKEN }}
- uses: actions/checkout@v4
if: github.event_name == 'pull_request'
- uses: astral-sh/setup-uv@v5
with:
enable-cache: true
cache-dependency-glob: ''
cache-suffix: '3.13'
- name: Install apt dependencies
run: |
if [ -f ./ci/apt-install ] ; then
sudo ./ci/apt-install
fi
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: '3.13'
- name: Lockfile maintenance
if: github.event_name == 'schedule' || github.event_name == 'workflow_dispatch'
run: uv lock --upgrade --no-sources
- run: uv sync --all-extras --no-sources
if: hashFiles('uv.lock') != ''
- name: Update current branch
if: ( github.event_name == 'pull_request' && github.actor != 'renovate[bot]' ) || ( github.event_name == 'push' && github.ref_name != 'main' )
uses: stefanzweifel/git-auto-commit-action@v5
with:
commit_message: 'chore(deps): update lockfile'
- name: Create Pull Request
id: cpr
if: github.event_name == 'schedule' || github.event_name == 'workflow_dispatch'
uses: peter-evans/create-pull-request@v7
with:
branch: create-pull-request/yarn-update
title: 'chore(deps): update lockfile'
commit-message: 'chore(deps): update lockfile'
token: ${{ secrets.WEBLATE_CI_TOKEN }}
labels: |
dependencies
- name: Enable Pull Request Automerge
if: steps.cpr.outputs.pull-request-operation && steps.cpr.outputs.pull-request-operation != 'none'
run: gh pr merge --rebase --auto "${{ steps.cpr.outputs.pull-request-number }}"
env:
GH_TOKEN: ${{ secrets.WEBLATE_CI_TOKEN }}