Skip to content

Commit

Permalink
chore: Update all pinned versions of python-package-ci-cd to v1.0.0 (#19
Browse files Browse the repository at this point in the history
)

* chore: Update all pinned versions of python-package-ci-cd to v1.0.0

* build: Update python-semantic-release settings to properly add the assets that were changed during a new version update
  • Loading branch information
nfelt14 authored Aug 27, 2024
1 parent fd06a8e commit edeec69
Show file tree
Hide file tree
Showing 19 changed files with 25 additions and 18 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/_reusable-package-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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@v0.0.1
uses: tektronix/python-package-ci-cd/actions/find_unreleased_changelog_items@v1.0.0
with:
release-level: ${{ inputs.release-level }}
previous-changelog-filepath: ${{ inputs.previous-changelog-filepath }}
Expand Down Expand Up @@ -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@v0.0.1
uses: tektronix/python-package-ci-cd/actions/find_unreleased_changelog_items@v1.0.0
with:
previous-changelog-filepath: ${{ inputs.previous-changelog-filepath }}
previous-release-notes-filepath: ${{ inputs.previous-release-notes-filepath }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/_reusable-package-testpypi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ jobs:
with:
package-name: ${{ inputs.package-name }}
- 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/create_unique_testpypi_version@v0.0.1
uses: tektronix/python-package-ci-cd/actions/create_unique_testpypi_version@v1.0.0
id: create-version
with:
package-name: ${{ inputs.package-name }}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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@v0.0.1
uses: tektronix/python-package-ci-cd/actions/update_development_dependencies@v1.0.0
with:
dependency-dict: ${{ inputs.dependency-dict }}
update-pre-commit: ${{ inputs.update-pre-commit }}
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ venv*/
ENV*/
env.bak/
venv.bak/
__pycache__/

# Unit test / coverage reports
htmlcov/
Expand Down
2 changes: 1 addition & 1 deletion actions/create_unique_testpypi_version/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ jobs:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: tektronix/python-package-ci-cd/actions/create_unique_testpypi_version@v0.0.1
- uses: tektronix/python-package-ci-cd/actions/create_unique_testpypi_version@v1.0.0
id: create-version
with:
package-name: my-package # required
Expand Down
2 changes: 1 addition & 1 deletion actions/find_unreleased_changelog_items/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -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@v0.0.1
- uses: tektronix/python-package-ci-cd/actions/find_unreleased_changelog_items@v1.0.0
with:
release-level: ${{ inputs.release-level }} # optional
previous-changelog-filepath: .previous_changelog_for_template.md # optional
Expand Down
2 changes: 1 addition & 1 deletion actions/update_development_dependencies/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ jobs:
ref: ${{ github.head_ref }}
token: ${{ secrets.checkout-token }}
- uses: tektronix/python-package-ci-cd/actions/update_development_dependencies@v0.0.1
- uses: tektronix/python-package-ci-cd/actions/update_development_dependencies@v1.0.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
Expand Down
6 changes: 6 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -145,6 +145,12 @@ order-by-type = false
]

[tool.semantic_release]
assets = [
".github",
"README.md",
"actions",
"workflows"
]
build_command = """
python -m scripts.bump_version_in_files
"""
Expand Down
2 changes: 1 addition & 1 deletion workflows/codeql-analysis.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ on:
branches: [main]
jobs:
analyze:
uses: tektronix/python-package-ci-cd/.github/workflows/_reusable-codeql-analysis.yml@v0.0.1
uses: tektronix/python-package-ci-cd/.github/workflows/_reusable-codeql-analysis.yml@v1.0.0
with:
languages-array: '["python", "javascript"]'
codeql-queries: security-extended,security-and-quality
Expand Down
2 changes: 1 addition & 1 deletion workflows/enforce-community-standards.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ on:
branches: [main]
jobs:
enforce-community-standards:
uses: tektronix/python-package-ci-cd/.github/workflows/_reusable-enforce-community-standards.yml@v0.0.1
uses: tektronix/python-package-ci-cd/.github/workflows/_reusable-enforce-community-standards.yml@v1.0.0
```
[workflow-file]: ../.github/workflows/_reusable-enforce-community-standards.yml
2 changes: 1 addition & 1 deletion workflows/package-build.md
Original file line number Diff line number Diff line change
Expand Up @@ -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@v0.0.1
uses: tektronix/python-package-ci-cd/.github/workflows/_reusable-package-build.yml@v1.0.0
with:
package-name: my_package # required
python-versions-array: '["3.9", "3.10", "3.11", "3.12"]' # required
Expand Down
2 changes: 1 addition & 1 deletion workflows/package-release.md
Original file line number Diff line number Diff line change
Expand Up @@ -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@v0.0.1
uses: tektronix/python-package-ci-cd/.github/workflows/_reusable-package-release.yml@v1.0.0
with:
package-name: my-package # required
repo-name: owner/my-package # required
Expand Down
2 changes: 1 addition & 1 deletion workflows/package-testpypi.md
Original file line number Diff line number Diff line change
Expand Up @@ -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@v0.0.1
uses: tektronix/python-package-ci-cd/.github/workflows/_reusable-package-testpypi.yml@v1.0.0
with:
package-name: my-package # required
repo-name: owner/my-package # required
Expand Down
2 changes: 1 addition & 1 deletion workflows/publish-api-comparison.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ on:
types: [completed]
jobs:
publish-api-comparison:
uses: tektronix/python-package-ci-cd/.github/workflows/_reusable-publish-api-comparison.yml@v0.0.1
uses: tektronix/python-package-ci-cd/.github/workflows/_reusable-publish-api-comparison.yml@v1.0.0
permissions:
checks: write
pull-requests: write
Expand Down
2 changes: 1 addition & 1 deletion workflows/publish-test-results.md
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ on:
types: [completed]
jobs:
publish-test-results:
uses: tektronix/python-package-ci-cd/.github/workflows/_reusable-publish-test-results.yml@v0.0.1
uses: tektronix/python-package-ci-cd/.github/workflows/_reusable-publish-test-results.yml@v1.0.0
with:
operating-systems-array: '["ubuntu", "windows", "macos"]' # required
permissions:
Expand Down
2 changes: 1 addition & 1 deletion workflows/sbom-scan.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ on:
types: [published]
jobs:
sbom-scan:
uses: tektronix/python-package-ci-cd/.github/workflows/_reusable-sbom-scan.yml@v0.0.1
uses: tektronix/python-package-ci-cd/.github/workflows/_reusable-sbom-scan.yml@v1.0.0
permissions:
security-events: write
contents: write
Expand Down
2 changes: 1 addition & 1 deletion workflows/test-code.md
Original file line number Diff line number Diff line change
Expand Up @@ -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@v0.0.1
uses: tektronix/python-package-ci-cd/.github/workflows/_reusable-test-code.yml@v1.0.0
with:
repo-name: owner/repo # required
operating-systems-array: '["ubuntu", "windows", "macos"]' # optional
Expand Down
2 changes: 1 addition & 1 deletion workflows/test-docs.md
Original file line number Diff line number Diff line change
Expand Up @@ -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@v0.0.1
uses: tektronix/python-package-ci-cd/.github/workflows/_reusable-test-docs.yml@v1.0.0
with:
node-version: 20 # required
python-version: '3.11' # required
Expand Down
2 changes: 1 addition & 1 deletion workflows/update-python-and-pre-commit-dependencies.md
Original file line number Diff line number Diff line change
Expand Up @@ -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@v0.0.1
uses: tektronix/python-package-ci-cd/.github/workflows/_reusable-update-python-and-pre-commit-dependencies.yml@v1.0.0
with:
commit-user-name: 'User Name'
commit-user-email: 'user-email'
Expand Down

0 comments on commit edeec69

Please sign in to comment.