Skip to content

Commit b94ce61

Browse files
committed
Update project template cruft, dependencies
Applied updates from upstream project template commits: 2921bf1...45a5e60 * 45a5e60 Merge pull request #113 from smkent/pypi |\ | * 5a7067d Configure PyPI trusted publishing |/ * b1f4625 Merge pull request #112 from smkent/pypi |\ | * 25c7106 Update `gh-action-pypi-publish` argument names to resolve warnings |/ * 1e22b05 Merge pull request #111 from smkent/python3.13 |\ | * b8f3c04 Add Python 3.13 to CI jobs |/ * 51f6060 Merge pull request #110 from smkent/manage-cookie * 44dc53a Update project template cruft, dependencies Updated project dependencies via `poetry update`: Package operations: 0 installs, 1 update, 0 removals - Updating wrapt (1.17.1 -> 1.17.2) Writing lock file
1 parent 45a5e60 commit b94ce61

3 files changed

Lines changed: 88 additions & 79 deletions

File tree

.cruft.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"template": ".",
3-
"commit": "2921bf15f3cf22e8e5c9ae04a5f7e8f52daffbc6",
3+
"commit": "45a5e60428dab6cb6f6382505d8591a050f1a7ba",
44
"context": {
55
"cookiecutter": {
66
"project_name": "Cookiecutter template for new Python projects",
@@ -13,7 +13,8 @@
1313
"author_name": "Stephen Kent",
1414
"author_email": "smkent@smkent.net",
1515
"github_user": "smkent",
16-
"_template": "."
16+
"_template": ".",
17+
"_commit": "45a5e60428dab6cb6f6382505d8591a050f1a7ba"
1718
}
1819
},
1920
"directory": null,

.github/workflows/cd.yml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,14 +11,18 @@ on:
1111
push:
1212
tags:
1313
- '*'
14-
workflow_dispatch:
1514

1615
jobs:
1716
Publish:
1817
name: Publish package for ${{ github.ref_name }}
1918

2019
if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags')
2120
runs-on: ubuntu-latest
21+
environment:
22+
name: pypi
23+
url: https://pypi.org/p/Cookiecutter template for new Python projects
24+
permissions:
25+
id-token: write
2226

2327
steps:
2428
- name: 💾 Check out repository
@@ -52,15 +56,12 @@ jobs:
5256
uses: pypa/gh-action-pypi-publish@release/v1
5357
if: ${{ env.ENABLE_TEST_PYPI_PUBLISH == 'true' }}
5458
with:
55-
password: ${{ secrets.TEST_PYPI_API_TOKEN }}
5659
repository-url: https://test.pypi.org/legacy/
5760
skip-existing: true
5861

5962
- name: ☢️ Publish to PyPI
6063
if: ${{ env.ENABLE_PYPI_PUBLISH == 'true' }}
6164
uses: pypa/gh-action-pypi-publish@release/v1
62-
with:
63-
password: ${{ secrets.PYPI_API_TOKEN }}
6465

6566
concurrency:
6667
group: ${{ github.workflow }}-${{ github.ref }}

0 commit comments

Comments
 (0)