From 137382f94818c3f26804f3853c241e3bea345090 Mon Sep 17 00:00:00 2001 From: Tektronix Bot Date: Wed, 28 Aug 2024 16:04:01 +0000 Subject: [PATCH] 1.0.3 Automatically generated by python-semantic-release --- .github/workflows/_reusable-package-release.yml | 4 ++-- .github/workflows/_reusable-package-testpypi.yml | 2 +- ...eusable-update-python-and-pre-commit-dependencies.yml | 2 +- CHANGELOG.md | 9 +++++++++ actions/create_unique_testpypi_version/readme.md | 2 +- actions/find_unreleased_changelog_items/readme.md | 2 +- actions/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 +- workflows/update-python-and-pre-commit-dependencies.md | 2 +- 19 files changed, 28 insertions(+), 19 deletions(-) diff --git a/.github/workflows/_reusable-package-release.yml b/.github/workflows/_reusable-package-release.yml index 8c71ee40..c75a896b 100644 --- a/.github/workflows/_reusable-package-release.yml +++ b/.github/workflows/_reusable-package-release.yml @@ -96,7 +96,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.0.2 + uses: tektronix/python-package-ci-cd/actions/find_unreleased_changelog_items@v1.0.3 with: release-level: ${{ inputs.release-level }} previous-changelog-filepath: ${{ inputs.previous-changelog-filepath }} @@ -126,7 +126,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.0.2 + uses: tektronix/python-package-ci-cd/actions/find_unreleased_changelog_items@v1.0.3 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 b67b579c..9dee0050 100644 --- a/.github/workflows/_reusable-package-testpypi.yml +++ b/.github/workflows/_reusable-package-testpypi.yml @@ -27,7 +27,7 @@ jobs: - uses: actions/checkout@v4 with: fetch-depth: 0 - - uses: tektronix/python-package-ci-cd/actions/create_unique_testpypi_version@v1.0.2 + - uses: tektronix/python-package-ci-cd/actions/create_unique_testpypi_version@v1.0.3 id: create-version with: package-name: ${{ inputs.package-name }} 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 453b30b7..915d82b6 100644 --- a/.github/workflows/_reusable-update-python-and-pre-commit-dependencies.yml +++ b/.github/workflows/_reusable-update-python-and-pre-commit-dependencies.yml @@ -93,7 +93,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.0.2 + uses: tektronix/python-package-ci-cd/actions/update_development_dependencies@v1.0.3 with: dependency-dict: ${{ inputs.dependency-dict }} update-pre-commit: ${{ inputs.update-pre-commit }} diff --git a/CHANGELOG.md b/CHANGELOG.md index ea6e7f94..be6cc112 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -18,6 +18,15 @@ Valid subsections within a version are: Things to be included in the next release go here. +--- + +## v1.0.3 (2024-08-28) + +### Merged Pull Requests + +- fix: Removed duplicate step ID from _reusable-package-testpypi.yml ([#23](https://github.com/tektronix/python-package-ci-cd/pull/23)) +- docs: Fix URLs to point to the correct repository ([#22](https://github.com/tektronix/python-package-ci-cd/pull/22)) + ### Fixed - Fixed the `_reusable-package-testpypi.yml` workflow by removing a duplicate step ID that caused the workflow to be unusable diff --git a/actions/create_unique_testpypi_version/readme.md b/actions/create_unique_testpypi_version/readme.md index 21423149..02d92f54 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@v4 with: fetch-depth: 0 - - uses: tektronix/python-package-ci-cd/actions/create_unique_testpypi_version@v1.0.2 + - uses: tektronix/python-package-ci-cd/actions/create_unique_testpypi_version@v1.0.3 id: create-version with: package-name: my-package # required diff --git a/actions/find_unreleased_changelog_items/readme.md b/actions/find_unreleased_changelog_items/readme.md index 8f31a883..381eefb9 100644 --- a/actions/find_unreleased_changelog_items/readme.md +++ b/actions/find_unreleased_changelog_items/readme.md @@ -48,7 +48,7 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 - - uses: tektronix/python-package-ci-cd/actions/find_unreleased_changelog_items@v1.0.2 + - uses: tektronix/python-package-ci-cd/actions/find_unreleased_changelog_items@v1.0.3 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 960464c0..98e6771b 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.0.2 + - uses: tektronix/python-package-ci-cd/actions/update_development_dependencies@v1.0.3 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 3463b80b..6627b5c2 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -27,7 +27,7 @@ wrap-summaries = 0 [tool.poetry] package-mode = false -version = "1.0.2" +version = "1.0.3" [tool.poetry.dependencies] python = "~3.12" diff --git a/workflows/codeql-analysis.md b/workflows/codeql-analysis.md index 53e3915e..770803b5 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.0.2 + uses: tektronix/python-package-ci-cd/.github/workflows/_reusable-codeql-analysis.yml@v1.0.3 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 8ea2d91e..be476178 100644 --- a/workflows/enforce-community-standards.md +++ b/workflows/enforce-community-standards.md @@ -44,7 +44,7 @@ on: branches: [main] jobs: enforce-community-standards: - uses: tektronix/python-package-ci-cd/.github/workflows/_reusable-enforce-community-standards.yml@v1.0.2 + uses: tektronix/python-package-ci-cd/.github/workflows/_reusable-enforce-community-standards.yml@v1.0.3 ``` [workflow-file]: ../.github/workflows/_reusable-enforce-community-standards.yml diff --git a/workflows/package-build.md b/workflows/package-build.md index 5b16a157..9f12cdb2 100644 --- a/workflows/package-build.md +++ b/workflows/package-build.md @@ -59,7 +59,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.0.2 + uses: tektronix/python-package-ci-cd/.github/workflows/_reusable-package-build.yml@v1.0.3 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 b383a3fd..5d232ba5 100644 --- a/workflows/package-release.md +++ b/workflows/package-release.md @@ -107,7 +107,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.0.2 + uses: tektronix/python-package-ci-cd/.github/workflows/_reusable-package-release.yml@v1.0.3 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 7018c2c3..9b632107 100644 --- a/workflows/package-testpypi.md +++ b/workflows/package-testpypi.md @@ -58,7 +58,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.0.2 + uses: tektronix/python-package-ci-cd/.github/workflows/_reusable-package-testpypi.yml@v1.0.3 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 4caa4a63..b46907f2 100644 --- a/workflows/publish-api-comparison.md +++ b/workflows/publish-api-comparison.md @@ -45,7 +45,7 @@ on: types: [completed] jobs: publish-api-comparison: - uses: tektronix/python-package-ci-cd/.github/workflows/_reusable-publish-api-comparison.yml@v1.0.2 + uses: tektronix/python-package-ci-cd/.github/workflows/_reusable-publish-api-comparison.yml@v1.0.3 permissions: checks: write pull-requests: write diff --git a/workflows/publish-test-results.md b/workflows/publish-test-results.md index 606e213c..558f966f 100644 --- a/workflows/publish-test-results.md +++ b/workflows/publish-test-results.md @@ -55,7 +55,7 @@ on: types: [completed] jobs: publish-test-results: - uses: tektronix/python-package-ci-cd/.github/workflows/_reusable-publish-test-results.yml@v1.0.2 + uses: tektronix/python-package-ci-cd/.github/workflows/_reusable-publish-test-results.yml@v1.0.3 with: operating-systems-array: '["ubuntu", "windows", "macos"]' # required permissions: diff --git a/workflows/sbom-scan.md b/workflows/sbom-scan.md index f47fef04..f633ac38 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.0.2 + uses: tektronix/python-package-ci-cd/.github/workflows/_reusable-sbom-scan.yml@v1.0.3 permissions: security-events: write contents: write diff --git a/workflows/test-code.md b/workflows/test-code.md index 4f8c5cbb..0915fb94 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.0.2 + uses: tektronix/python-package-ci-cd/.github/workflows/_reusable-test-code.yml@v1.0.3 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 0c596b8a..12c38c49 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.0.2 + uses: tektronix/python-package-ci-cd/.github/workflows/_reusable-test-docs.yml@v1.0.3 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 77cd7476..724e1be1 100644 --- a/workflows/update-python-and-pre-commit-dependencies.md +++ b/workflows/update-python-and-pre-commit-dependencies.md @@ -56,7 +56,7 @@ on: branches: [main] jobs: update-python-and-pre-commit-dependencies: - uses: tektronix/python-package-ci-cd/.github/workflows/_reusable-update-python-and-pre-commit-dependencies.yml@v1.0.2 + uses: tektronix/python-package-ci-cd/.github/workflows/_reusable-update-python-and-pre-commit-dependencies.yml@v1.0.3 with: commit-user-name: 'User Name' commit-user-email: 'user-email'