Kickstarts the semantic release pipeline for your Python project
Project description
ci-starter
Kickstarts the semantic release pipeline for your Python project on GitHub. It creates an configuration file semantic-release.toml for python-semantic-release and a pipeline with reusable workflows in .github/workflows.
Usage
Prerequisites
You will have to do the flollowing things yourself:
- Create your project:
- Use uv to initialize your project (must be a package)
- Fill it with some minimally meaningful content, I recommend:
- set version to
0.0.0 - project urls
- keywords
- classifiers
- license
- set version to
- Add a dependency group for running tests (group shall contain at least your test runner, e.g. pytest)
- Fill it with some minimally meaningful content, I recommend:
- Create tests (CI/CD pipeline would fail if no tests are found)
- Format and check everything with ruff
- Set up a trusted publisher for your project on pypi.org:
- Workflow:
continuous-delivery.yml(default workflow name) - Environment name:
pypi
- Workflow:
- Set up a trusted publisher for your project on test.pypi.org:
- Workflow:
continuous-delivery.yml - Environment name:
testpypi
- Workflow:
- Create a GitHub repository for your project
- Add remote origin and its ssh address at your local clone
- Use uv to initialize your project (must be a package)
Create CI/CD Pipeline With ci-starter
Run these commands:
$ ci-start psr-config
$ ci-start workflows
$ ci-start update-actions
The psr-config command creates the semantic-release.toml, the second one creates the workflow files (.github/workflows/*.yml), the third one fetches the current versions of the GitHub Actions used in the workflow files and updates the workflow files accordingly.
It is your responsibility to check whether it is safe to use the suggested current versions of the GitHub Actions (beware of supply chain attacks).
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file ci_starter-0.10.6.tar.gz.
File metadata
- Download URL: ci_starter-0.10.6.tar.gz
- Upload date:
- Size: 13.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f2f412e0577e42f93918ba6d3c13173ff6f22bdc57b92badb50abe496fc9e51d
|
|
| MD5 |
40e59ff0ca75684bab7c3246626c185f
|
|
| BLAKE2b-256 |
436ab30cbb01e03850d02184f2c6580ea8070e2775973a1d85d81afdb39be824
|
Provenance
The following attestation bundles were made for ci_starter-0.10.6.tar.gz:
Publisher:
continuous-delivery.yml on fleetingbytes/ci-starter
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
ci_starter-0.10.6.tar.gz -
Subject digest:
f2f412e0577e42f93918ba6d3c13173ff6f22bdc57b92badb50abe496fc9e51d - Sigstore transparency entry: 601109364
- Sigstore integration time:
-
Permalink:
fleetingbytes/ci-starter@906dd252a9d423f76ea3e6c413c39642c87bd448 -
Branch / Tag:
refs/heads/master - Owner: https://github.com/fleetingbytes
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
continuous-delivery.yml@906dd252a9d423f76ea3e6c413c39642c87bd448 -
Trigger Event:
push
-
Statement type:
File details
Details for the file ci_starter-0.10.6-py3-none-any.whl.
File metadata
- Download URL: ci_starter-0.10.6-py3-none-any.whl
- Upload date:
- Size: 21.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b6a159b7346b499166e637f22a8270a2050dbf37f336beee8255251957f77bea
|
|
| MD5 |
994301e1443f6cb72c544815dd6644fd
|
|
| BLAKE2b-256 |
540ef2a3d03eaec91fad09e5fd74c934f19ef71af73033ed3b14da7c6585e82e
|
Provenance
The following attestation bundles were made for ci_starter-0.10.6-py3-none-any.whl:
Publisher:
continuous-delivery.yml on fleetingbytes/ci-starter
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
ci_starter-0.10.6-py3-none-any.whl -
Subject digest:
b6a159b7346b499166e637f22a8270a2050dbf37f336beee8255251957f77bea - Sigstore transparency entry: 601109365
- Sigstore integration time:
-
Permalink:
fleetingbytes/ci-starter@906dd252a9d423f76ea3e6c413c39642c87bd448 -
Branch / Tag:
refs/heads/master - Owner: https://github.com/fleetingbytes
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
continuous-delivery.yml@906dd252a9d423f76ea3e6c413c39642c87bd448 -
Trigger Event:
push
-
Statement type: