Skip to content

Commit 7f8eace

Browse files
Co-authored-by: salt-extensions-renovatebot[bot] <182623858+salt-extensions-renovatebot[bot]@users.noreply.github.com>
1 parent 9816427 commit 7f8eace

25 files changed

+219
-77
lines changed

.copier-answers.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Autogenerated. Do not edit this by hand, use `copier update`.
22
---
3-
_commit: 0.6.0
3+
_commit: 0.7.0
44
_src_path: https://github.com/salt-extensions/salt-extension-copier
55
author: jeanluc
66
author_email: lkubb@protonmail.com
File renamed without changes.

.github/PULL_REQUEST_TEMPLATE.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,10 @@ Remove this section if not relevant
1010
Remove this section if not relevant
1111

1212
### Merge requirements satisfied?
13-
**[NOTICE] Bug fixes or features added to Salt require tests.**
14-
<!-- Please review the [test documentation](https://docs.saltproject.io/en/master/topics/tutorials/writing_tests.html) for details on how to implement tests into Salt's test suite. -->
13+
**[NOTICE] Bug fixes or new features require tests.**
14+
<!-- Please review the [salt-extensions](https://salt-extensions.github.io/salt-extension-copier/topics/testing/writing.html) and [Salt test documentation](https://docs.saltproject.io/en/master/topics/tutorials/writing_tests.html) for details on how to implement tests for your changes. -->
1515
- [ ] Docs
16-
- [ ] Changelog - https://docs.saltproject.io/en/master/topics/development/changelog.html
16+
- [ ] Changelog - https://salt-extensions.github.io/salt-extension-copier/topics/documenting/changelog.html#procedure
1717
- [ ] Tests written/updated
1818

1919
### Commits signed with GPG?

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,7 @@ jobs:
150150
steps:
151151
- name: Download Exit Status Files
152152
if: always()
153-
uses: actions/download-artifact@fa0a91b85d4f404e444e00e005971372dc801d16 # v4.1.8
153+
uses: actions/download-artifact@cc203385981b70ca67e1cc392babf9cc229d5806 # v4.1.9
154154
with:
155155
path: exitstatus
156156
pattern: exitstatus-*

.github/workflows/deploy-docs-action.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ jobs:
3939

4040
steps:
4141
- name: Download built docs
42-
uses: actions/download-artifact@fa0a91b85d4f404e444e00e005971372dc801d16 # v4.1.8
42+
uses: actions/download-artifact@cc203385981b70ca67e1cc392babf9cc229d5806 # v4.1.9
4343
with:
4444
name: ${{ inputs.artifact-name }}
4545
path: html-docs
@@ -71,7 +71,7 @@ jobs:
7171
7272
- name: Upload Exit Status
7373
if: always()
74-
uses: actions/upload-artifact@b4b15b8c7c6ac21ea08fcf65892d2ee8f75cf882 # v4.4.3
74+
uses: actions/upload-artifact@4cec3d8aa04e39d1a68397de0c4cd6fb9dce8ec1 # v4.6.1
7575
with:
7676
name: exitstatus-${{ github.job }}
7777
path: exitstatus

.github/workflows/deploy-package-action.yml

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,20 +19,21 @@ on:
1919

2020
jobs:
2121
build:
22-
name: Publish Python Package to ${{ fromJSON('["PyPI", "Test PyPI"]')[inputs.test] }}
22+
name: Publish Python Package to ${{ ! inputs.test && 'PyPI' || 'Test PyPI' }}
2323
runs-on: ubuntu-24.04
2424

2525
steps:
2626
- name: Download Python Package Artifacts
27-
uses: actions/download-artifact@fa0a91b85d4f404e444e00e005971372dc801d16 # v4.1.8
27+
uses: actions/download-artifact@cc203385981b70ca67e1cc392babf9cc229d5806 # v4.1.9
2828
with:
2929
name: salt-extension-${{ inputs.version }}-packages
3030
path: dist
3131

3232
- name: Publish distribution to Test PyPI
33-
uses: pypa/gh-action-pypi-publish@1bb664cc2ddedbbfdde43d4ac135d5836b7bf40f # v1.11.0
33+
uses: pypa/gh-action-pypi-publish@7f25271a4aa483500f742f9492b2ab5648d61011 # v1.12.4
3434
if: ${{ inputs.test }}
3535
with:
36+
attestations: false
3637
password: ${{ secrets.TEST_PYPI_API_TOKEN }}
3738
repository-url: https://test.pypi.org/legacy/
3839

@@ -48,7 +49,12 @@ jobs:
4849
dist/*
4950
5051
- name: Publish distribution to PyPI
51-
uses: pypa/gh-action-pypi-publish@1bb664cc2ddedbbfdde43d4ac135d5836b7bf40f # v1.11.0
52+
uses: pypa/gh-action-pypi-publish@7f25271a4aa483500f742f9492b2ab5648d61011 # v1.12.4
5253
if: ${{ !inputs.test }}
5354
with:
55+
# Attestations are only submitted when using Trusted Publishing,
56+
# which is triggered by secrets.PYPI_API_TOKEN not being set.
57+
# They don't work with reusable workflows at the moment.
58+
# It's related to https://github.com/pypi/warehouse/issues/11096
59+
attestations: false
5460
password: ${{ secrets.PYPI_API_TOKEN }}

.github/workflows/docs-action.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
fetch-depth: 0
1616

1717
- name: Set up Python 3.10 For Nox
18-
uses: actions/setup-python@0b93645e9fea7318ecaed2b359559ac225c90a2b # v5.3.0
18+
uses: actions/setup-python@42375524e23c412d93fb67b49958b491fce71c38 # v5.4.0
1919
with:
2020
python-version: "3.10"
2121

@@ -35,7 +35,7 @@ jobs:
3535
nox --force-color -e docs
3636
3737
- name: Upload built docs as artifact
38-
uses: actions/upload-artifact@b4b15b8c7c6ac21ea08fcf65892d2ee8f75cf882 # v4.4.3
38+
uses: actions/upload-artifact@4cec3d8aa04e39d1a68397de0c4cd6fb9dce8ec1 # v4.6.1
3939
with:
4040
name: html-docs
4141
path: docs/_build/html
@@ -48,7 +48,7 @@ jobs:
4848
4949
- name: Upload Exit Status
5050
if: always()
51-
uses: actions/upload-artifact@b4b15b8c7c6ac21ea08fcf65892d2ee8f75cf882 # v4.4.3
51+
uses: actions/upload-artifact@4cec3d8aa04e39d1a68397de0c4cd6fb9dce8ec1 # v4.6.1
5252
with:
5353
name: exitstatus-${{ github.job }}
5454
path: exitstatus

.github/workflows/package-action.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
fetch-depth: 0
2020

2121
- name: Set up Python 3.10
22-
uses: actions/setup-python@0b93645e9fea7318ecaed2b359559ac225c90a2b # v5.3.0
22+
uses: actions/setup-python@42375524e23c412d93fb67b49958b491fce71c38 # v5.4.0
2323
with:
2424
python-version: "3.10"
2525

@@ -38,7 +38,7 @@ jobs:
3838
run: python -m build --outdir dist/
3939

4040
- name: Upload build artifacts
41-
uses: actions/upload-artifact@b4b15b8c7c6ac21ea08fcf65892d2ee8f75cf882 # v4.4.3
41+
uses: actions/upload-artifact@4cec3d8aa04e39d1a68397de0c4cd6fb9dce8ec1 # v4.6.1
4242
if: always()
4343
with:
4444
name: salt-extension-${{ inputs.version }}-packages
@@ -53,7 +53,7 @@ jobs:
5353
5454
- name: Upload Exit Status
5555
if: always()
56-
uses: actions/upload-artifact@b4b15b8c7c6ac21ea08fcf65892d2ee8f75cf882 # v4.4.3
56+
uses: actions/upload-artifact@4cec3d8aa04e39d1a68397de0c4cd6fb9dce8ec1 # v4.6.1
5757
with:
5858
name: exitstatus-${{ github.job }}
5959
path: exitstatus

.github/workflows/pre-commit-action.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414
name: Pre-Commit
1515
runs-on: ubuntu-24.04
1616
container:
17-
image: docker.io/library/python:3.10.15-slim-bookworm@sha256:eb9ca77b1a0ffbde84c1dc333beb3490a2638813cc25a339f8575668855b9ff1
17+
image: docker.io/library/python:3.10.16-slim-bookworm@sha256:f680fc3f447366d9be2ae53dc7a6447fe9b33311af209225783932704f0cb4e7
1818

1919
steps:
2020
- name: Install System Deps
@@ -49,7 +49,7 @@ jobs:
4949
5050
- name: Upload Exit Status
5151
if: always()
52-
uses: actions/upload-artifact@b4b15b8c7c6ac21ea08fcf65892d2ee8f75cf882 # v4.4.3
52+
uses: actions/upload-artifact@4cec3d8aa04e39d1a68397de0c4cd6fb9dce8ec1 # v4.6.1
5353
with:
5454
name: exitstatus-${{ github.job }}
5555
path: exitstatus

.github/workflows/prepare-release-action.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ jobs:
2525
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
2626

2727
- name: Set up Python 3.10
28-
uses: actions/setup-python@0b93645e9fea7318ecaed2b359559ac225c90a2b # v5.3.0
28+
uses: actions/setup-python@42375524e23c412d93fb67b49958b491fce71c38 # v5.4.0
2929
with:
3030
python-version: '3.10'
3131

@@ -49,7 +49,7 @@ jobs:
4949
python -m pre_commit run --files=CHANGELOG.md || true
5050
5151
- name: Create/update release PR
52-
uses: peter-evans/create-pull-request@5e914681df9dc83aa4e4905692ca88beb2f9e91f # v7.0.5
52+
uses: peter-evans/create-pull-request@271a8d0340265f705b14b6d32b9829c1cb33d45e # v7.0.8
5353
with:
5454
commit-message: Release v${{ (github.event_name == 'workflow_dispatch' && inputs.version != '') && inputs.version || steps.next-version.outputs.version }}
5555
branch: release/auto

0 commit comments

Comments
 (0)