chore(deps): update modules/gettext digest to 7185ecb #371
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Copyright © Michal Čihař <michal@weblate.org> | |
# | |
# SPDX-License-Identifier: MIT | |
name: submodule update | |
on: | |
push: | |
branches: | |
- renovate/** | |
- main | |
paths: | |
- .github/workflows/submodules-update.yml | |
- modules/** | |
jobs: | |
submodule-update: | |
runs-on: ubuntu-24.04 | |
permissions: | |
contents: write | |
pull-requests: write | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
submodules: true | |
- run: sudo apt-get update | |
- run: sudo apt-get install -y gettext | |
- name: Setup Python | |
uses: actions/setup-python@v5 | |
with: | |
python-version: '3.12' | |
- uses: astral-sh/setup-uv@v3 | |
with: | |
enable-cache: true | |
cache-dependency-glob: '' | |
- name: Install dependencies | |
run: uv pip install --system -e .[dev] | |
- run: make | |
- name: Update renovate branch | |
if: github.ref != 'refs/heads/main' | |
uses: stefanzweifel/git-auto-commit-action@v5 | |
with: | |
commit_message: 'chore: Updates from submodules' | |
- name: Create Pull Request | |
if: github.ref == 'refs/heads/main' | |
uses: peter-evans/create-pull-request@v7 | |
with: | |
branch: create-pull-request/submodule-update | |
title: 'chore: Updates from submodules' | |
commit-message: 'chore: Updates from submodules' | |
labels: | | |
dependencies | |
automerge |