From 3a82109ec91de73b4ea458037712eaf19607d392 Mon Sep 17 00:00:00 2001 From: Tektronix Bot Date: Mon, 9 Sep 2024 17:53:32 +0000 Subject: [PATCH] 1.3.0 Automatically generated by python-semantic-release --- .../workflows/_reusable-package-release.yml | 4 +- .../workflows/_reusable-package-testpypi.yml | 2 +- .../_reusable-publish-api-comparison.yml | 2 +- .../_reusable-publish-test-results.yml | 2 +- ...ate-python-and-pre-commit-dependencies.yml | 2 +- CHANGELOG.md | 48 +++++++++++++++++++ .../create_unique_testpypi_version/readme.md | 2 +- actions/fetch_pr_number/readme.md | 2 +- .../find_unreleased_changelog_items/readme.md | 2 +- .../update_development_dependencies/readme.md | 2 +- pyproject.toml | 2 +- workflows/codeql-analysis.md | 2 +- workflows/enforce-community-standards.md | 2 +- workflows/package-build.md | 2 +- workflows/package-release.md | 2 +- workflows/package-testpypi.md | 2 +- workflows/publish-api-comparison.md | 2 +- workflows/publish-test-results.md | 2 +- workflows/sbom-scan.md | 2 +- workflows/test-code.md | 2 +- workflows/test-docs.md | 2 +- ...date-python-and-pre-commit-dependencies.md | 2 +- 22 files changed, 70 insertions(+), 22 deletions(-) diff --git a/.github/workflows/_reusable-package-release.yml b/.github/workflows/_reusable-package-release.yml index abe650ed..b098d2cc 100644 --- a/.github/workflows/_reusable-package-release.yml +++ b/.github/workflows/_reusable-package-release.yml @@ -107,7 +107,7 @@ jobs: previous-changelog-filepath: ${{ inputs.previous-changelog-filepath }} previous-release-notes-filepath: ${{ inputs.previous-release-notes-filepath }} - if: ${{ !endsWith(github.repository, '/python-package-ci-cd') }} # Run the public action when this is run outside the python-package-ci-cd repository - uses: tektronix/python-package-ci-cd/actions/find_unreleased_changelog_items@v1.2.0 + uses: tektronix/python-package-ci-cd/actions/find_unreleased_changelog_items@v1.3.0 with: release-level: ${{ inputs.release-level }} previous-changelog-filepath: ${{ inputs.previous-changelog-filepath }} @@ -139,7 +139,7 @@ jobs: previous-changelog-filepath: ${{ inputs.previous-changelog-filepath }} previous-release-notes-filepath: ${{ inputs.previous-release-notes-filepath }} - if: ${{ !endsWith(github.repository, '/python-package-ci-cd') }} # Run the public action when this is run outside the python-package-ci-cd repository - uses: tektronix/python-package-ci-cd/actions/find_unreleased_changelog_items@v1.2.0 + uses: tektronix/python-package-ci-cd/actions/find_unreleased_changelog_items@v1.3.0 with: previous-changelog-filepath: ${{ inputs.previous-changelog-filepath }} previous-release-notes-filepath: ${{ inputs.previous-release-notes-filepath }} diff --git a/.github/workflows/_reusable-package-testpypi.yml b/.github/workflows/_reusable-package-testpypi.yml index fca7b8af..4f3ccc7a 100644 --- a/.github/workflows/_reusable-package-testpypi.yml +++ b/.github/workflows/_reusable-package-testpypi.yml @@ -31,7 +31,7 @@ jobs: - uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7 with: fetch-depth: 0 - - uses: tektronix/python-package-ci-cd/actions/create_unique_testpypi_version@v1.2.0 + - uses: tektronix/python-package-ci-cd/actions/create_unique_testpypi_version@v1.3.0 id: create-version with: package-name: ${{ inputs.package-name }} diff --git a/.github/workflows/_reusable-publish-api-comparison.yml b/.github/workflows/_reusable-publish-api-comparison.yml index 9b555939..79d863e3 100644 --- a/.github/workflows/_reusable-publish-api-comparison.yml +++ b/.github/workflows/_reusable-publish-api-comparison.yml @@ -32,7 +32,7 @@ jobs: github-repository: ${{ github.repository }} - if: ${{ !endsWith(github.repository, '/python-package-ci-cd') }} # Run the public action when this is run outside the python-package-ci-cd repository id: fetch-pr-number - uses: tektronix/python-package-ci-cd/actions/fetch_pr_number@v1.2.0 + uses: tektronix/python-package-ci-cd/actions/fetch_pr_number@v1.3.0 with: sha: ${{ github.event.workflow_run.head_sha }} github-repository: ${{ github.repository }} diff --git a/.github/workflows/_reusable-publish-test-results.yml b/.github/workflows/_reusable-publish-test-results.yml index 7ddba800..f7929d96 100644 --- a/.github/workflows/_reusable-publish-test-results.yml +++ b/.github/workflows/_reusable-publish-test-results.yml @@ -36,7 +36,7 @@ jobs: github-repository: ${{ github.repository }} - if: ${{ !endsWith(github.repository, '/python-package-ci-cd') }} # Run the public action when this is run outside the python-package-ci-cd repository id: fetch-pr-number - uses: tektronix/python-package-ci-cd/actions/fetch_pr_number@v1.2.0 + uses: tektronix/python-package-ci-cd/actions/fetch_pr_number@v1.3.0 with: sha: ${{ github.event.workflow_run.head_sha }} github-repository: ${{ github.repository }} diff --git a/.github/workflows/_reusable-update-python-and-pre-commit-dependencies.yml b/.github/workflows/_reusable-update-python-and-pre-commit-dependencies.yml index bfeb2c8c..b3b23b1d 100644 --- a/.github/workflows/_reusable-update-python-and-pre-commit-dependencies.yml +++ b/.github/workflows/_reusable-update-python-and-pre-commit-dependencies.yml @@ -92,7 +92,7 @@ jobs: pre-commit-hook-skip-list: ${{ inputs.pre-commit-hook-skip-list }} export-dependency-groups: ${{ inputs.export-dependency-groups }} - if: ${{ !endsWith(github.repository, '/python-package-ci-cd') }} # Run the public action when this is run outside the python-package-ci-cd repository - uses: tektronix/python-package-ci-cd/actions/update_development_dependencies@v1.2.0 + uses: tektronix/python-package-ci-cd/actions/update_development_dependencies@v1.3.0 with: dependency-dict: ${{ inputs.dependency-dict }} update-pre-commit: ${{ inputs.update-pre-commit }} diff --git a/CHANGELOG.md b/CHANGELOG.md index 1fe93554..f79b61e1 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -18,6 +18,54 @@ Valid subsections within a version are: Things to be included in the next release go here. +### Changed + +- Bumped dependency versions. + +--- + +## v1.3.0 (2024-09-09) + +### Merged Pull Requests + +- Enhance find_unreleased_changelog_items action to check for merged PRs ([#74](https://github.com/tektronix/python-package-ci-cd/pull/74)) +- Update package-release workflow to prevent marking the workflow as failed if the deployment is rejected ([#84](https://github.com/tektronix/python-package-ci-cd/pull/84)) +- chore(gh-actions-deps): update hynek/build-and-inspect-python-package action to v2.9.0 in all dependant reusable workflows ([#83](https://github.com/tektronix/python-package-ci-cd/pull/83)) +- chore(python-deps): update pydantic dependencies in all dependant actions ([#70](https://github.com/tektronix/python-package-ci-cd/pull/70)) +- chore(python-deps): update dependency platformdirs to v4.3.2 in all dependant actions ([#82](https://github.com/tektronix/python-package-ci-cd/pull/82)) +- chore(python-deps): update dependency more-itertools to v10.5.0 in all dependant actions ([#66](https://github.com/tektronix/python-package-ci-cd/pull/66)) +- chore(python-deps): update dependency platformdirs to v4.3.1 in all dependant actions ([#80](https://github.com/tektronix/python-package-ci-cd/pull/80)) +- chore(python-deps): update dependency virtualenv to v20.26.4 in all dependant actions ([#81](https://github.com/tektronix/python-package-ci-cd/pull/81)) +- chore(python-deps): update dependency filelock to v3.16.0 in all dependant actions ([#79](https://github.com/tektronix/python-package-ci-cd/pull/79)) +- chore(docker-deps): update python:3.12-alpine docker digest to bb5d0ac in all dependant actions ([#77](https://github.com/tektronix/python-package-ci-cd/pull/77)) +- chore(python-deps): update dependency build to v1.2.2 in all dependant actions ([#76](https://github.com/tektronix/python-package-ci-cd/pull/76)) +- test: Properly test the find_unreleased_changelog_items action ([#73](https://github.com/tektronix/python-package-ci-cd/pull/73)) +- chore(gh-actions-deps): update actions/attest-build-provenance action to v1.4.3 in all dependant reusable workflows ([#72](https://github.com/tektronix/python-package-ci-cd/pull/72)) +- ci: Add workflow to automatically approve renovate PRs that can be automerged to enable automatic updates of dependencies ([#71](https://github.com/tektronix/python-package-ci-cd/pull/71)) +- Automate the release process trigger weekly ([#68](https://github.com/tektronix/python-package-ci-cd/pull/68)) +- chore(gh-actions-deps): update python-semantic-release dependencies to v9.8.8 in all dependant reusable workflows ([#38](https://github.com/tektronix/python-package-ci-cd/pull/38)) +- chore(python-deps): update dependency setuptools to v74.1.2 in all dependant actions ([#64](https://github.com/tektronix/python-package-ci-cd/pull/64)) +- chore(python-deps): update dependency pypi-simple to v1.6.0 for actions/create_unique_testpypi_version and actions/update_development_dependencies ([#45](https://github.com/tektronix/python-package-ci-cd/pull/45)) +- chore(python-deps): update dependency codespell to v2 for docs ([#57](https://github.com/tektronix/python-package-ci-cd/pull/57)) +- chore(python-deps): update dependency poetry-plugin-export to v1.8.0 for actions/update_development_dependencies and dev ([#44](https://github.com/tektronix/python-package-ci-cd/pull/44)) +- chore(python-deps): update dependency certifi to v2024.8.30 in all dependant actions ([#59](https://github.com/tektronix/python-package-ci-cd/pull/59)) +- chore(docker-deps): update python:3.12-alpine docker digest to aeff643 in all dependant actions ([#50](https://github.com/tektronix/python-package-ci-cd/pull/50)) +- chore(python-deps): update dependency rapidfuzz to v3.9.7 in all dependant actions ([#56](https://github.com/tektronix/python-package-ci-cd/pull/56)) +- test: Test against macOS as well to catch any bugs when updating dependencies ([#58](https://github.com/tektronix/python-package-ci-cd/pull/58)) +- chore(python-deps): update dependency cffi to v1.17.1 in all dependant actions ([#55](https://github.com/tektronix/python-package-ci-cd/pull/55)) +- chore(gh-actions-deps): update actions/checkout action to v4.1.7 in all dependant reusable workflows ([#52](https://github.com/tektronix/python-package-ci-cd/pull/52)) +- chore(python-deps): update dependency pyright to v1.1.379 for dev ([#49](https://github.com/tektronix/python-package-ci-cd/pull/49)) +- chore(gh-actions-deps): update anchore/scan-action action to v4.1.2 in all dependant reusable workflows ([#53](https://github.com/tektronix/python-package-ci-cd/pull/53)) +- chore(gh-actions-deps): update dev workflow dependencies ([#54](https://github.com/tektronix/python-package-ci-cd/pull/54)) +- Update Renovate config ([#51](https://github.com/tektronix/python-package-ci-cd/pull/51)) +- chore(docker-deps): pin python docker tag to c2f41e6 ([#37](https://github.com/tektronix/python-package-ci-cd/pull/37)) +- chore(python-deps): update dependency tomli to v2.0.1 for the create_unique_testpypi_version group(s) ([#39](https://github.com/tektronix/python-package-ci-cd/pull/39)) +- chore(config): migrate renovate config ([#42](https://github.com/tektronix/python-package-ci-cd/pull/42)) +- chore: Configure Renovate ([#36](https://github.com/tektronix/python-package-ci-cd/pull/36)) +- gh-actions(deps): Bump the gh-actions-dependencies group across 2 directories with 2 updates ([#33](https://github.com/tektronix/python-package-ci-cd/pull/33)) +- fix: Check out the repo before trying to run local actions ([#34](https://github.com/tektronix/python-package-ci-cd/pull/34)) +- Add comments with version numbers to the pinned versions of GitHub Actions in the reusable workflows ([#31](https://github.com/tektronix/python-package-ci-cd/pull/31)) + ### Added - Added the ability for the `update_development_dependencies` action to accept a comma-separated, multiline string diff --git a/actions/create_unique_testpypi_version/readme.md b/actions/create_unique_testpypi_version/readme.md index ce5641e9..c4449035 100644 --- a/actions/create_unique_testpypi_version/readme.md +++ b/actions/create_unique_testpypi_version/readme.md @@ -37,7 +37,7 @@ jobs: - uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 with: fetch-depth: 0 - - uses: tektronix/python-package-ci-cd/actions/create_unique_testpypi_version@v1.2.0 + - uses: tektronix/python-package-ci-cd/actions/create_unique_testpypi_version@v1.3.0 id: create-version with: package-name: my-package # required diff --git a/actions/fetch_pr_number/readme.md b/actions/fetch_pr_number/readme.md index 3490a9b5..41fb5b33 100644 --- a/actions/fetch_pr_number/readme.md +++ b/actions/fetch_pr_number/readme.md @@ -28,7 +28,7 @@ jobs: publish-results: runs-on: ubuntu-latest steps: - - uses: tektronix/python-package-ci-cd/actions/fetch_pr_number@v1.2.0 + - uses: tektronix/python-package-ci-cd/actions/fetch_pr_number@v1.3.0 id: fetch-pr-number with: sha: ${{ github.event.workflow_run.head_sha }} # required diff --git a/actions/find_unreleased_changelog_items/readme.md b/actions/find_unreleased_changelog_items/readme.md index 9d42251e..062fb391 100644 --- a/actions/find_unreleased_changelog_items/readme.md +++ b/actions/find_unreleased_changelog_items/readme.md @@ -53,7 +53,7 @@ jobs: with: fetch-depth: 0 fetch-tags: true - - uses: tektronix/python-package-ci-cd/actions/find_unreleased_changelog_items@v1.2.0 + - uses: tektronix/python-package-ci-cd/actions/find_unreleased_changelog_items@v1.3.0 with: release-level: ${{ inputs.release-level }} # optional previous-changelog-filepath: .previous_changelog_for_template.md # optional diff --git a/actions/update_development_dependencies/readme.md b/actions/update_development_dependencies/readme.md index 7efb8eb6..279d659f 100644 --- a/actions/update_development_dependencies/readme.md +++ b/actions/update_development_dependencies/readme.md @@ -46,7 +46,7 @@ jobs: ref: ${{ github.head_ref }} token: ${{ secrets.checkout-token }} - - uses: tektronix/python-package-ci-cd/actions/update_development_dependencies@v1.2.0 + - uses: tektronix/python-package-ci-cd/actions/update_development_dependencies@v1.3.0 with: repo-root: . # optional, defaults to the current working directory install-dependencies: false # optional, this will almost never need to be set to true diff --git a/pyproject.toml b/pyproject.toml index 23471289..ac99a0cf 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -28,7 +28,7 @@ wrap-summaries = 0 [tool.poetry] license = "Apache-2.0" package-mode = false -version = "1.2.0" +version = "1.3.0" [tool.poetry.dependencies] python = "~3.12" # This needs to stay in sync with all CI workflows diff --git a/workflows/codeql-analysis.md b/workflows/codeql-analysis.md index 7d69c011..939cedf3 100644 --- a/workflows/codeql-analysis.md +++ b/workflows/codeql-analysis.md @@ -43,7 +43,7 @@ on: branches: [main] jobs: analyze: - uses: tektronix/python-package-ci-cd/.github/workflows/_reusable-codeql-analysis.yml@v1.2.0 + uses: tektronix/python-package-ci-cd/.github/workflows/_reusable-codeql-analysis.yml@v1.3.0 with: languages-array: '["python", "javascript"]' codeql-queries: security-extended,security-and-quality diff --git a/workflows/enforce-community-standards.md b/workflows/enforce-community-standards.md index b5bbc0ad..52233e4f 100644 --- a/workflows/enforce-community-standards.md +++ b/workflows/enforce-community-standards.md @@ -43,7 +43,7 @@ on: branches: [main] jobs: enforce-community-standards: - uses: tektronix/python-package-ci-cd/.github/workflows/_reusable-enforce-community-standards.yml@v1.2.0 + uses: tektronix/python-package-ci-cd/.github/workflows/_reusable-enforce-community-standards.yml@v1.3.0 ``` [workflow-file]: ../.github/workflows/_reusable-enforce-community-standards.yml diff --git a/workflows/package-build.md b/workflows/package-build.md index 7a0a39c2..2af9130b 100644 --- a/workflows/package-build.md +++ b/workflows/package-build.md @@ -63,7 +63,7 @@ concurrency: cancel-in-progress: ${{ github.ref != 'refs/heads/main' }} jobs: package-build: - uses: tektronix/python-package-ci-cd/.github/workflows/_reusable-package-build.yml@v1.2.0 + uses: tektronix/python-package-ci-cd/.github/workflows/_reusable-package-build.yml@v1.3.0 with: package-name: my_package # required python-versions-array: '["3.9", "3.10", "3.11", "3.12"]' # required diff --git a/workflows/package-release.md b/workflows/package-release.md index a79d5196..86b517f6 100644 --- a/workflows/package-release.md +++ b/workflows/package-release.md @@ -135,7 +135,7 @@ concurrency: # This concurrency is not required, but can be added if extra cont group: pypi jobs: package-release: - uses: tektronix/python-package-ci-cd/.github/workflows/_reusable-package-release.yml@v1.2.0 + uses: tektronix/python-package-ci-cd/.github/workflows/_reusable-package-release.yml@v1.3.0 with: package-name: my-package # required repo-name: owner/my-package # required diff --git a/workflows/package-testpypi.md b/workflows/package-testpypi.md index 3484f6e2..5474c4ac 100644 --- a/workflows/package-testpypi.md +++ b/workflows/package-testpypi.md @@ -72,7 +72,7 @@ concurrency: # This concurrency is not required, but can be added if extra cont group: pypi jobs: package-testpypi: - uses: tektronix/python-package-ci-cd/.github/workflows/_reusable-package-testpypi.yml@v1.2.0 + uses: tektronix/python-package-ci-cd/.github/workflows/_reusable-package-testpypi.yml@v1.3.0 with: package-name: my-package # required repo-name: owner/my-package # required diff --git a/workflows/publish-api-comparison.md b/workflows/publish-api-comparison.md index 2ba324fd..91293c1a 100644 --- a/workflows/publish-api-comparison.md +++ b/workflows/publish-api-comparison.md @@ -46,7 +46,7 @@ on: types: [completed] jobs: publish-api-comparison: - uses: tektronix/python-package-ci-cd/.github/workflows/_reusable-publish-api-comparison.yml@v1.2.0 + uses: tektronix/python-package-ci-cd/.github/workflows/_reusable-publish-api-comparison.yml@v1.3.0 permissions: checks: write pull-requests: write diff --git a/workflows/publish-test-results.md b/workflows/publish-test-results.md index 0a875c5c..78b8cbb6 100644 --- a/workflows/publish-test-results.md +++ b/workflows/publish-test-results.md @@ -56,7 +56,7 @@ on: types: [completed] jobs: publish-test-results: - uses: tektronix/python-package-ci-cd/.github/workflows/_reusable-publish-test-results.yml@v1.2.0 + uses: tektronix/python-package-ci-cd/.github/workflows/_reusable-publish-test-results.yml@v1.3.0 with: operating-systems-array: '["ubuntu", "windows", "macos"]' # required permissions: diff --git a/workflows/sbom-scan.md b/workflows/sbom-scan.md index 192e2d67..1621c2ec 100644 --- a/workflows/sbom-scan.md +++ b/workflows/sbom-scan.md @@ -51,7 +51,7 @@ on: types: [published] jobs: sbom-scan: - uses: tektronix/python-package-ci-cd/.github/workflows/_reusable-sbom-scan.yml@v1.2.0 + uses: tektronix/python-package-ci-cd/.github/workflows/_reusable-sbom-scan.yml@v1.3.0 permissions: security-events: write contents: write diff --git a/workflows/test-code.md b/workflows/test-code.md index 823da436..18c93109 100644 --- a/workflows/test-code.md +++ b/workflows/test-code.md @@ -134,7 +134,7 @@ concurrency: cancel-in-progress: ${{ github.ref != 'refs/heads/main' }} jobs: test-code: - uses: tektronix/python-package-ci-cd/.github/workflows/_reusable-test-code.yml@v1.2.0 + uses: tektronix/python-package-ci-cd/.github/workflows/_reusable-test-code.yml@v1.3.0 with: repo-name: owner/repo # required operating-systems-array: '["ubuntu", "windows", "macos"]' # optional diff --git a/workflows/test-docs.md b/workflows/test-docs.md index 3c13fd5e..11758c20 100644 --- a/workflows/test-docs.md +++ b/workflows/test-docs.md @@ -89,7 +89,7 @@ concurrency: cancel-in-progress: ${{ github.ref != 'refs/heads/main' }} jobs: test-docs: - uses: tektronix/python-package-ci-cd/.github/workflows/_reusable-test-docs.yml@v1.2.0 + uses: tektronix/python-package-ci-cd/.github/workflows/_reusable-test-docs.yml@v1.3.0 with: node-version: 20 # required python-version: '3.11' # required diff --git a/workflows/update-python-and-pre-commit-dependencies.md b/workflows/update-python-and-pre-commit-dependencies.md index c9278b3a..ebeea4c6 100644 --- a/workflows/update-python-and-pre-commit-dependencies.md +++ b/workflows/update-python-and-pre-commit-dependencies.md @@ -57,7 +57,7 @@ on: jobs: update-python-and-pre-commit-dependencies: if: ${{ github.actor == 'dependabot[bot]' && contains(github.head_ref, '/pip/') }} # Only run the job for Dependabot PRs - uses: tektronix/python-package-ci-cd/.github/workflows/_reusable-update-python-and-pre-commit-dependencies.yml@v1.2.0 + uses: tektronix/python-package-ci-cd/.github/workflows/_reusable-update-python-and-pre-commit-dependencies.yml@v1.3.0 with: commit-user-name: 'User Name' commit-user-email: 'user-email'