-
Notifications
You must be signed in to change notification settings - Fork 467
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1970 from vacanza/dev
v0.56
- Loading branch information
Showing
280 changed files
with
23,609 additions
and
18,778 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
ci: | ||
- changed-files: | ||
- any-glob-to-any-file: | ||
- .github/** | ||
|
||
doc: | ||
- changed-files: | ||
- any-glob-to-any-file: | ||
- docs/** | ||
|
||
l10n: | ||
- changed-files: | ||
- any-glob-to-any-file: | ||
- holidays/locale/** | ||
|
||
script: | ||
- changed-files: | ||
- any-glob-to-any-file: | ||
- scripts/** | ||
|
||
snapshot: | ||
- changed-files: | ||
- any-glob-to-any-file: | ||
- snapshots/** | ||
|
||
test: | ||
- changed-files: | ||
- any-glob-to-any-file: | ||
- tests/** | ||
|
||
v1: | ||
- head-branch: | ||
- v1 |
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
name: 'Pull Request Labeler' | ||
|
||
on: | ||
- pull_request_target | ||
|
||
jobs: | ||
labeler: | ||
permissions: | ||
contents: read | ||
pull-requests: write | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/labeler@v5 |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,52 @@ | ||
name: Update snapshots | ||
|
||
on: | ||
push: | ||
branches: | ||
- dev | ||
workflow_dispatch: | ||
|
||
jobs: | ||
update-snapshots: | ||
name: Update snapshots | ||
if: github.repository == 'vacanza/python-holidays' | ||
permissions: | ||
contents: write | ||
pull-requests: write | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Check out repository | ||
uses: actions/checkout@v4 | ||
|
||
- name: Set up Python | ||
uses: actions/setup-python@v5 | ||
with: | ||
cache: pip | ||
cache-dependency-path: | | ||
requirements/build.txt | ||
requirements/dev.txt | ||
check-latest: true | ||
python-version: '3.12' | ||
|
||
- name: Install dependencies | ||
run: | | ||
python -m pip install --upgrade pip | ||
python -m pip install -r requirements/build.txt | ||
python -m pip install -r requirements/dev.txt | ||
make package | ||
python -m pip install dist/*.tar.gz | ||
- name: Generate snapshots | ||
run: | | ||
make snapshot | ||
- uses: peter-evans/[email protected] | ||
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 }} |
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
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
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
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
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
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
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
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
Oops, something went wrong.