From bbf72ba6253d5e99efc3fb88630a42f73857f579 Mon Sep 17 00:00:00 2001 From: federico jaureguialzo Date: Fri, 17 Nov 2023 21:30:30 +0100 Subject: [PATCH 1/4] Update actions/setup-python (4.6.1 -> 4.7.1) --- .github/workflows/pre-commit-autoupdate.yml | 2 +- .github/workflows/tests.yml | 4 ++-- CHANGELOG.md | 3 +++ .../.github/workflows/pre-commit-autoupdate.yml | 2 +- {{cookiecutter.project_name}}/.github/workflows/release.yml | 2 +- {{cookiecutter.project_name}}/.github/workflows/tests.yml | 6 +++--- 6 files changed, 11 insertions(+), 8 deletions(-) diff --git a/.github/workflows/pre-commit-autoupdate.yml b/.github/workflows/pre-commit-autoupdate.yml index bf25aa3a..95bddd4d 100644 --- a/.github/workflows/pre-commit-autoupdate.yml +++ b/.github/workflows/pre-commit-autoupdate.yml @@ -15,7 +15,7 @@ jobs: ref: develop - name: Set up Python 3.8 - uses: actions/setup-python@v4.6.1 + uses: actions/setup-python@v4.7.1 with: python-version: 3.8 diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 10c20b4e..f91f338f 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -17,7 +17,7 @@ jobs: - uses: actions/checkout@v3.5.2 - name: Set up Python 3.8 - uses: actions/setup-python@v4.6.1 + uses: actions/setup-python@v4.7.1 with: python-version: 3.8 @@ -45,7 +45,7 @@ jobs: - uses: actions/checkout@v3.5.2 - name: Set up Python ${{ matrix.python-version }} - uses: actions/setup-python@v4.6.1 + uses: actions/setup-python@v4.7.1 with: python-version: ${{ matrix.python-version }} diff --git a/CHANGELOG.md b/CHANGELOG.md index 14886dd6..c1f66f35 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,6 +6,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +### Changed +- actions/setup-python from `v4.6.1` to `v4.7.1`. + ### Fixed - readthedocs config. diff --git a/{{cookiecutter.project_name}}/.github/workflows/pre-commit-autoupdate.yml b/{{cookiecutter.project_name}}/.github/workflows/pre-commit-autoupdate.yml index a989a030..c2e2390b 100644 --- a/{{cookiecutter.project_name}}/.github/workflows/pre-commit-autoupdate.yml +++ b/{{cookiecutter.project_name}}/.github/workflows/pre-commit-autoupdate.yml @@ -13,7 +13,7 @@ jobs: - uses: actions/checkout@v3.5.2 - name: Set up Python 3.8 - uses: actions/setup-python@v4.6.1 + uses: actions/setup-python@v4.7.1 with: python-version: 3.8 diff --git a/{{cookiecutter.project_name}}/.github/workflows/release.yml b/{{cookiecutter.project_name}}/.github/workflows/release.yml index 760617a2..8e5f14c5 100644 --- a/{{cookiecutter.project_name}}/.github/workflows/release.yml +++ b/{{cookiecutter.project_name}}/.github/workflows/release.yml @@ -13,7 +13,7 @@ jobs: - uses: actions/checkout@v3.5.2 - name: Set up Python 3.8 - uses: actions/setup-python@v4.6.1 + uses: actions/setup-python@v4.7.1 with: python-version: 3.8 diff --git a/{{cookiecutter.project_name}}/.github/workflows/tests.yml b/{{cookiecutter.project_name}}/.github/workflows/tests.yml index 9d26ec94..86101f7a 100644 --- a/{{cookiecutter.project_name}}/.github/workflows/tests.yml +++ b/{{cookiecutter.project_name}}/.github/workflows/tests.yml @@ -14,7 +14,7 @@ jobs: - uses: actions/checkout@v3.5.2 - name: Set up Python 3.8 - uses: actions/setup-python@v4.6.1 + uses: actions/setup-python@v4.7.1 with: python-version: 3.8 @@ -42,7 +42,7 @@ jobs: - uses: actions/checkout@v3.5.2 - name: Set up Python ${{ matrix.python-version }} - uses: actions/setup-python@v4.6.1 + uses: actions/setup-python@v4.7.1 with: python-version: ${{ matrix.python-version }} @@ -79,7 +79,7 @@ jobs: - uses: actions/checkout@v3.5.2 - name: Set up Python 3.8 - uses: actions/setup-python@v4.6.1 + uses: actions/setup-python@v4.7.1 with: python-version: 3.8 From 2a8349b82bfb7c0546df436599b8a756879cbb7c Mon Sep 17 00:00:00 2001 From: federico jaureguialzo Date: Fri, 17 Nov 2023 21:33:04 +0100 Subject: [PATCH 2/4] Update actions/checkout (3.5.2 -> 4.1.1) --- .github/workflows/codeql-analysis.yml | 2 +- .github/workflows/pre-commit-autoupdate.yml | 2 +- .github/workflows/release.yml | 2 +- .github/workflows/tests.yml | 4 ++-- CHANGELOG.md | 1 + .../.github/workflows/codeql-analysis.yml | 2 +- .../.github/workflows/pre-commit-autoupdate.yml | 2 +- {{cookiecutter.project_name}}/.github/workflows/release.yml | 4 ++-- {{cookiecutter.project_name}}/.github/workflows/tests.yml | 6 +++--- 9 files changed, 13 insertions(+), 12 deletions(-) diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml index 41f146b6..f48ecf29 100644 --- a/.github/workflows/codeql-analysis.yml +++ b/.github/workflows/codeql-analysis.yml @@ -27,7 +27,7 @@ jobs: steps: - name: Checkout repository - uses: actions/checkout@v3.5.2 + uses: actions/checkout@v4.1.1 # Initializes the CodeQL tools for scanning. - name: Initialize CodeQL diff --git a/.github/workflows/pre-commit-autoupdate.yml b/.github/workflows/pre-commit-autoupdate.yml index 95bddd4d..5403b893 100644 --- a/.github/workflows/pre-commit-autoupdate.yml +++ b/.github/workflows/pre-commit-autoupdate.yml @@ -10,7 +10,7 @@ jobs: name: autoupdate runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3.5.2 + - uses: actions/checkout@v4.1.1 with: ref: develop diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 1669b6fd..62efcba9 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -10,7 +10,7 @@ jobs: name: Create Github Release runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3.5.2 + - uses: actions/checkout@v4.1.1 - name: Get version from tag id: tag_name diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index f91f338f..a22467c0 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -14,7 +14,7 @@ jobs: name: Linting runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3.5.2 + - uses: actions/checkout@v4.1.1 - name: Set up Python 3.8 uses: actions/setup-python@v4.7.1 @@ -42,7 +42,7 @@ jobs: python-version: ['3.8', '3.9', '3.10', '3.11'] fail-fast: true steps: - - uses: actions/checkout@v3.5.2 + - uses: actions/checkout@v4.1.1 - name: Set up Python ${{ matrix.python-version }} uses: actions/setup-python@v4.7.1 diff --git a/CHANGELOG.md b/CHANGELOG.md index c1f66f35..b183dfb7 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -8,6 +8,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] ### Changed - actions/setup-python from `v4.6.1` to `v4.7.1`. +- actions/checkout from `v3.5.2` to `v4.1.1`. ### Fixed - readthedocs config. diff --git a/{{cookiecutter.project_name}}/.github/workflows/codeql-analysis.yml b/{{cookiecutter.project_name}}/.github/workflows/codeql-analysis.yml index c91f3631..32b0d8ef 100644 --- a/{{cookiecutter.project_name}}/.github/workflows/codeql-analysis.yml +++ b/{{cookiecutter.project_name}}/.github/workflows/codeql-analysis.yml @@ -24,7 +24,7 @@ jobs: steps: - name: Checkout repository - uses: actions/checkout@v3.5.2 + uses: actions/checkout@v4.1.1 # Initializes the CodeQL tools for scanning. - name: Initialize CodeQL diff --git a/{{cookiecutter.project_name}}/.github/workflows/pre-commit-autoupdate.yml b/{{cookiecutter.project_name}}/.github/workflows/pre-commit-autoupdate.yml index c2e2390b..c05458c4 100644 --- a/{{cookiecutter.project_name}}/.github/workflows/pre-commit-autoupdate.yml +++ b/{{cookiecutter.project_name}}/.github/workflows/pre-commit-autoupdate.yml @@ -10,7 +10,7 @@ jobs: name: autoupdate runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3.5.2 + - uses: actions/checkout@v4.1.1 - name: Set up Python 3.8 uses: actions/setup-python@v4.7.1 diff --git a/{{cookiecutter.project_name}}/.github/workflows/release.yml b/{{cookiecutter.project_name}}/.github/workflows/release.yml index 8e5f14c5..b8adf76d 100644 --- a/{{cookiecutter.project_name}}/.github/workflows/release.yml +++ b/{{cookiecutter.project_name}}/.github/workflows/release.yml @@ -10,7 +10,7 @@ jobs: release: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3.5.2 + - uses: actions/checkout@v4.1.1 - name: Set up Python 3.8 uses: actions/setup-python@v4.7.1 @@ -46,7 +46,7 @@ jobs: name: Create Github Release runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3.5.2 + - uses: actions/checkout@v4.1.1 - name: Get version from tag id: tag_name diff --git a/{{cookiecutter.project_name}}/.github/workflows/tests.yml b/{{cookiecutter.project_name}}/.github/workflows/tests.yml index 86101f7a..58aae13a 100644 --- a/{{cookiecutter.project_name}}/.github/workflows/tests.yml +++ b/{{cookiecutter.project_name}}/.github/workflows/tests.yml @@ -11,7 +11,7 @@ jobs: name: Linting runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3.5.2 + - uses: actions/checkout@v4.1.1 - name: Set up Python 3.8 uses: actions/setup-python@v4.7.1 @@ -39,7 +39,7 @@ jobs: python-version: ['3.8', '3.9', '3.10', '3.11'] fail-fast: true steps: - - uses: actions/checkout@v3.5.2 + - uses: actions/checkout@v4.1.1 - name: Set up Python ${{ matrix.python-version }} uses: actions/setup-python@v4.7.1 @@ -76,7 +76,7 @@ jobs: needs: tests runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3.5.2 + - uses: actions/checkout@v4.1.1 - name: Set up Python 3.8 uses: actions/setup-python@v4.7.1 From 7b64ba5a702e94c531f4738d0b8cd8ff5dad0351 Mon Sep 17 00:00:00 2001 From: federico jaureguialzo Date: Fri, 17 Nov 2023 21:37:04 +0100 Subject: [PATCH 3/4] Update peter-evans/create-pull-request (5.0.1 -> 5.0.2) --- .github/workflows/pre-commit-autoupdate.yml | 2 +- CHANGELOG.md | 3 +-- .../.github/workflows/pre-commit-autoupdate.yml | 2 +- 3 files changed, 3 insertions(+), 4 deletions(-) diff --git a/.github/workflows/pre-commit-autoupdate.yml b/.github/workflows/pre-commit-autoupdate.yml index 5403b893..928df6bc 100644 --- a/.github/workflows/pre-commit-autoupdate.yml +++ b/.github/workflows/pre-commit-autoupdate.yml @@ -32,7 +32,7 @@ jobs: - name: Run pre-commit run: poetry run pre-commit run --all-files - - uses: peter-evans/create-pull-request@v5.0.1 + - uses: peter-evans/create-pull-request@v5.0.2 with: token: ${{ secrets.GITHUB_TOKEN }} branch: chore-update-pre-commit-hooks diff --git a/CHANGELOG.md b/CHANGELOG.md index b183dfb7..358dc25b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -9,19 +9,18 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Changed - actions/setup-python from `v4.6.1` to `v4.7.1`. - actions/checkout from `v3.5.2` to `v4.1.1`. +- peter-evans/create-pull-request from `v5.0.1` to `v5.0.2`. ### Fixed - readthedocs config. ## [2.3.0] - 2023-05-28 - ### Changed - Reorganized dev dependencies into groups. - Renamed invoke safety task to invoke security. - flakeheaven pre-coomit hook with local deps. ## [2.2.1] - 2023-05-25 - ### Changed - Moved mypy configurations from `mypy.ini` to `pyproject.toml`. - Moved poetry `dev-dependencies` to `group.dev.dependencies`. diff --git a/{{cookiecutter.project_name}}/.github/workflows/pre-commit-autoupdate.yml b/{{cookiecutter.project_name}}/.github/workflows/pre-commit-autoupdate.yml index c05458c4..54c7993b 100644 --- a/{{cookiecutter.project_name}}/.github/workflows/pre-commit-autoupdate.yml +++ b/{{cookiecutter.project_name}}/.github/workflows/pre-commit-autoupdate.yml @@ -30,7 +30,7 @@ jobs: - name: Run pre-commit run: poetry run pre-commit run --all-files - - uses: peter-evans/create-pull-request@v5.0.1 + - uses: peter-evans/create-pull-request@v5.0.2 with: token: ${{ secrets.GITHUB_TOKEN }} branch: chore-update-pre-commit-hooks From 5b150a3f96fbf34b193bcaa944d729ac744a7b0f Mon Sep 17 00:00:00 2001 From: federico jaureguialzo Date: Fri, 17 Nov 2023 21:51:39 +0100 Subject: [PATCH 4/4] Update pypa/gh-action-pypi-publish (1.4.2 -> 1.8.10) --- CHANGELOG.md | 1 + {{cookiecutter.project_name}}/.github/workflows/release.yml | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 358dc25b..8bd6281b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -10,6 +10,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - actions/setup-python from `v4.6.1` to `v4.7.1`. - actions/checkout from `v3.5.2` to `v4.1.1`. - peter-evans/create-pull-request from `v5.0.1` to `v5.0.2`. +- pypa/gh-action-pypi-publish from from `v1.4.2` to `v1.8.10`. ### Fixed - readthedocs config. diff --git a/{{cookiecutter.project_name}}/.github/workflows/release.yml b/{{cookiecutter.project_name}}/.github/workflows/release.yml index b8adf76d..c842cfa7 100644 --- a/{{cookiecutter.project_name}}/.github/workflows/release.yml +++ b/{{cookiecutter.project_name}}/.github/workflows/release.yml @@ -28,13 +28,13 @@ jobs: poetry build --ansi {% if is_open_source %}{% raw %} - name: Publish package on PyPI - uses: pypa/gh-action-pypi-publish@v1.4.2 + uses: pypa/gh-action-pypi-publish@v1.8.10 with: user: __token__ password: ${{ secrets.PYPI_TOKEN }} - name: Publish package on TestPyPI - uses: pypa/gh-action-pypi-publish@v1.4.2 + uses: pypa/gh-action-pypi-publish@v1.8.10 with: user: __token__ password: ${{ secrets.TEST_PYPI_TOKEN }}