-
Notifications
You must be signed in to change notification settings - Fork 486
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 #1515 from vacanza/beta
v0.35
- Loading branch information
Showing
100 changed files
with
9,492 additions
and
2,493 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
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 |
---|---|---|
|
@@ -12,7 +12,7 @@ jobs: | |
- name: Check Out Repository | ||
uses: actions/checkout@v4 | ||
- name: Set Up Python | ||
uses: actions/[email protected].0 | ||
uses: actions/[email protected].1 | ||
with: | ||
python-version: '3.11' | ||
- name: Run pre-commit | ||
|
@@ -30,7 +30,7 @@ jobs: | |
steps: | ||
- uses: actions/checkout@v4 | ||
- name: Set Up Python ${{ matrix.python-version }} | ||
uses: actions/[email protected].0 | ||
uses: actions/[email protected].1 | ||
with: | ||
cache: pip | ||
cache-dependency-path: | | ||
|
@@ -60,7 +60,7 @@ jobs: | |
steps: | ||
- uses: actions/checkout@v4 | ||
- name: Set Up Python | ||
uses: actions/[email protected].0 | ||
uses: actions/[email protected].1 | ||
with: | ||
cache: pip | ||
cache-dependency-path: requirements/runtime.txt | ||
|
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 |
---|---|---|
|
@@ -2,30 +2,33 @@ name: Update pre-commit hooks | |
|
||
on: | ||
schedule: | ||
- cron: "0 0 * * *" | ||
- cron: '0 0 * * *' | ||
workflow_dispatch: | ||
|
||
jobs: | ||
auto-update: | ||
name: Update pre-commit hooks | ||
if: ${{ github.repository }} == "vacanza/python-holidays" | ||
if: ${{ github.repository == 'vacanza/python-holidays' }} | ||
permissions: | ||
contents: write | ||
pull-requests: write | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- uses: actions/[email protected] | ||
|
||
- uses: actions/[email protected] | ||
with: | ||
python-version: "3.11" | ||
python-version: '3.11' | ||
|
||
- uses: browniebroke/[email protected] | ||
|
||
- uses: peter-evans/[email protected] | ||
with: | ||
base: beta | ||
body: Update pre-commit hooks to their latest versions. | ||
branch: update-pre-commit-hooks | ||
commit-message: "Chore: Update pre-commit hooks" | ||
commit-message: 'chore: Update pre-commit hooks' | ||
committer: github-actions[bot] <github-actions[bot]@users.noreply.github.com> | ||
delete-branch: true | ||
title: Update pre-commit hooks | ||
token: ${{ secrets.GITHUB_TOKEN }} | ||
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,6 @@ | ||
include CHANGES | ||
include CONTRIBUTING.rst | ||
include holidays/py.typed | ||
include Makefile | ||
|
||
recursive-include docs * | ||
|
Oops, something went wrong.