Skip to content

Update l10n test: fix duplicated entries check (#3785) #611

Update l10n test: fix duplicated entries check (#3785)

Update l10n test: fix duplicated entries check (#3785) #611

name: Update snapshots
on:
push:
branches:
- dev
workflow_dispatch:
env:
DEFAULT_PYTHON_VERSION: '3.14'
jobs:
update-snapshots:
name: Update snapshots
if: github.repository == 'vacanza/holidays'
permissions:
contents: write
pull-requests: write
runs-on: ubuntu-24.04-arm
steps:
- name: Check out repository
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
persist-credentials: false
- name: Install uv
uses: astral-sh/setup-uv@c771a70e6277c0a99b617c7a806ffedaca235ff9 # v9.0.0
with:
python-version: ${{ env.DEFAULT_PYTHON_VERSION }}
version-file: uv.lock
- name: Install Python
run: uv python install "$UV_PYTHON"
- name: Install dependencies
run: uv sync --frozen --no-dev --group build --no-build --no-binary-package holidays
- name: Generate snapshots
run: make snapshot
- uses: peter-evans/create-pull-request@5f6978faf089d4d20b00c7766989d076bb2fc7f1 # v8.1.1
with:
base: dev
body: Automatically generated snapshots update.
branch: update-snapshots
commit-message: 'Update snapshots [skip ci]'
committer: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
delete-branch: true
title: 'chore: Update snapshots'
token: ${{ github.token }}