diff --git a/.github/workflows/_reusable-package-release.yml b/.github/workflows/_reusable-package-release.yml index 5c1fb703..bd05f3bb 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@v0.0.1 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@v0.0.1 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..efa202a9 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@v0.0.1 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..d976c2cd 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@v0.0.1 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..3f5d9790 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@v0.0.1 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..0db0e933 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@v0.0.1 with: dependency-dict: ${{ inputs.dependency-dict }} update-pre-commit: ${{ inputs.update-pre-commit }} diff --git a/CHANGELOG.md b/CHANGELOG.md index b5a73e18..f1469af6 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -18,6 +18,77 @@ Valid subsections within a version are: Things to be included in the next release go here. +### Changed + +- Bumped dependency versions. + +--- + +## v0.0.1 (2024-09-09) + +### Merged Pull Requests + +- 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/nfelt14/python-package-ci-cd/pull/83)) +- chore(python-deps): update pydantic dependencies in all dependant actions ([#70](https://github.com/nfelt14/python-package-ci-cd/pull/70)) +- chore(python-deps): update dependency platformdirs to v4.3.2 in all dependant actions ([#82](https://github.com/nfelt14/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/nfelt14/python-package-ci-cd/pull/66)) +- chore(python-deps): update dependency platformdirs to v4.3.1 in all dependant actions ([#80](https://github.com/nfelt14/python-package-ci-cd/pull/80)) +- chore(python-deps): update dependency virtualenv to v20.26.4 in all dependant actions ([#81](https://github.com/nfelt14/python-package-ci-cd/pull/81)) +- chore(python-deps): update dependency filelock to v3.16.0 in all dependant actions ([#79](https://github.com/nfelt14/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/nfelt14/python-package-ci-cd/pull/77)) +- chore(python-deps): update dependency build to v1.2.2 in all dependant actions ([#76](https://github.com/nfelt14/python-package-ci-cd/pull/76)) +- test: Properly test the find_unreleased_changelog_items action ([#73](https://github.com/nfelt14/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/nfelt14/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/nfelt14/python-package-ci-cd/pull/71)) +- chore: Configure Renovate ([#36](https://github.com/nfelt14/python-package-ci-cd/pull/36)) +- Automate the release process trigger weekly ([#68](https://github.com/nfelt14/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/nfelt14/python-package-ci-cd/pull/38)) +- chore(python-deps): update dependency setuptools to v74.1.2 in all dependant actions ([#64](https://github.com/nfelt14/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/nfelt14/python-package-ci-cd/pull/45)) +- chore(python-deps): update dependency codespell to v2 for docs ([#57](https://github.com/nfelt14/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/nfelt14/python-package-ci-cd/pull/44)) +- chore(python-deps): update dependency certifi to v2024.8.30 in all dependant actions ([#59](https://github.com/nfelt14/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/nfelt14/python-package-ci-cd/pull/50)) +- chore(python-deps): update dependency rapidfuzz to v3.9.7 in all dependant actions ([#56](https://github.com/nfelt14/python-package-ci-cd/pull/56)) +- test: Test against macOS as well to catch any bugs when updating dependencies ([#58](https://github.com/nfelt14/python-package-ci-cd/pull/58)) +- chore(python-deps): update dependency cffi to v1.17.1 in all dependant actions ([#55](https://github.com/nfelt14/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/nfelt14/python-package-ci-cd/pull/52)) +- chore(python-deps): update dependency pyright to v1.1.379 for dev ([#49](https://github.com/nfelt14/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/nfelt14/python-package-ci-cd/pull/53)) +- chore(gh-actions-deps): update dev workflow dependencies ([#54](https://github.com/nfelt14/python-package-ci-cd/pull/54)) +- Update Renovate config ([#51](https://github.com/nfelt14/python-package-ci-cd/pull/51)) +- chore(docker-deps): pin python docker tag to c2f41e6 ([#37](https://github.com/nfelt14/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/nfelt14/python-package-ci-cd/pull/39)) +- chore(config): migrate renovate config ([#42](https://github.com/nfelt14/python-package-ci-cd/pull/42)) +- gh-actions(deps): Bump the gh-actions-dependencies group across 2 directories with 2 updates ([#33](https://github.com/nfelt14/python-package-ci-cd/pull/33)) +- fix: Check out the repo before trying to run local actions ([#34](https://github.com/nfelt14/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/nfelt14/python-package-ci-cd/pull/31)) +- feat: Add an action that can be used to fetch a PR number ([#32](https://github.com/nfelt14/python-package-ci-cd/pull/32)) +- gh-actions(deps): Bump github/codeql-action ([#30](https://github.com/nfelt14/python-package-ci-cd/pull/30)) +- Build a documentation site with mkdocs to allow testing more reusable workflows ([#28](https://github.com/nfelt14/python-package-ci-cd/pull/28)) +- fix: Add a checkout step to make sure the python version can be determined from the pyproject.toml file ([#27](https://github.com/nfelt14/python-package-ci-cd/pull/27)) +- fix: Allow the PyPI publishing workflows to be used as reusable workflows by requiring a token for uploading the package ([#26](https://github.com/nfelt14/python-package-ci-cd/pull/26)) +- ci: Update pre-commit hook to run properly without needing docker installed ([#25](https://github.com/nfelt14/python-package-ci-cd/pull/25)) +- docs: Fix changelog formatting ([#24](https://github.com/nfelt14/python-package-ci-cd/pull/24)) +- fix: Removed duplicate step ID from _reusable-package-testpypi.yml ([#23](https://github.com/nfelt14/python-package-ci-cd/pull/23)) +- docs: Fix URLs to point to the correct repository ([#22](https://github.com/nfelt14/python-package-ci-cd/pull/22)) +- Update build script to properly add changed files to git during the release process ([#21](https://github.com/nfelt14/python-package-ci-cd/pull/21)) +- docs: Update changelog with incoming change notes on python-semantic-release config updates ([#20](https://github.com/nfelt14/python-package-ci-cd/pull/20)) +- chore: Update all pinned versions of python-package-ci-cd to v1.0.0 ([#19](https://github.com/nfelt14/python-package-ci-cd/pull/19)) +- fix: Fix the inputs to the python-semantic-release action ([#18](https://github.com/nfelt14/python-package-ci-cd/pull/18)) +- ci: Set current version to v0.0.1 ([#17](https://github.com/nfelt14/python-package-ci-cd/pull/17)) +- Workflow Updates ([#16](https://github.com/nfelt14/python-package-ci-cd/pull/16)) +- Update action that finds unreleased items to require the full path to the output files that are used by `python-semantic-release`'s templates ([#14](https://github.com/nfelt14/python-package-ci-cd/pull/14)) +- Misc updates ([#13](https://github.com/nfelt14/python-package-ci-cd/pull/13)) +- gh-actions(deps): Bump python-semantic-release/python-semantic-release ([#12](https://github.com/nfelt14/python-package-ci-cd/pull/12)) +- Enable better testing ([#11](https://github.com/nfelt14/python-package-ci-cd/pull/11)) +- Add packaging workflows ([#9](https://github.com/nfelt14/python-package-ci-cd/pull/9)) +- Add requirements updater workflow and actions ([#6](https://github.com/nfelt14/python-package-ci-cd/pull/6)) +- Add new workflows and actions ([#5](https://github.com/nfelt14/python-package-ci-cd/pull/5)) +- Add SBOM scan workflow ([#3](https://github.com/nfelt14/python-package-ci-cd/pull/3)) +- ci: Move files since GitHub doesn't allow for locating reusable workflows in arbitrary locations ([#2](https://github.com/nfelt14/python-package-ci-cd/pull/2)) +- Initial repo setup ([#1](https://github.com/nfelt14/python-package-ci-cd/pull/1)) + ### 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..8d01163e 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@v0.0.1 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..25e7aecb 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@v0.0.1 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 23be9324..36dff50c 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@692973e3d937129bcbf40652eb9f2f61becf3332 - - 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@v0.0.1 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..c451e50e 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@v0.0.1 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 6b583c1d..811331d8 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -27,7 +27,7 @@ wrap-summaries = 0 [tool.poetry] package-mode = false -version = "1.2.0" +version = "0.0.1" [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..d7a998b8 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@v0.0.1 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..0b9abb42 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@v0.0.1 ``` [workflow-file]: ../.github/workflows/_reusable-enforce-community-standards.yml diff --git a/workflows/package-build.md b/workflows/package-build.md index 7a0a39c2..4c3fb79b 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@v0.0.1 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..bba93340 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@v0.0.1 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..9de3da60 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@v0.0.1 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..4d242069 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@v0.0.1 permissions: checks: write pull-requests: write diff --git a/workflows/publish-test-results.md b/workflows/publish-test-results.md index 0a875c5c..ae8a11c2 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@v0.0.1 with: operating-systems-array: '["ubuntu", "windows", "macos"]' # required permissions: diff --git a/workflows/sbom-scan.md b/workflows/sbom-scan.md index 192e2d67..fa79a15c 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@v0.0.1 permissions: security-events: write contents: write diff --git a/workflows/test-code.md b/workflows/test-code.md index 823da436..3c63819f 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@v0.0.1 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..984dd0ed 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@v0.0.1 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..915f4713 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@v0.0.1 with: commit-user-name: 'User Name' commit-user-email: 'user-email'