No description
|
|
||
|---|---|---|
| .forgejo/workflows | ||
| .idea | ||
| git | ||
| pylint | ||
| pytest | ||
| python | ||
| release | ||
| toml-attribute | ||
| twine | ||
| README.md | ||
Common Workflows
This repository contains Forgejo workflows, to be used by other repositories for CI-purposes.
Currently available workflows are:
-
.forgejo/workflows/toml-attribute.yml
Takessections(defaults to "project") andkey(required) and reads the associated value from thepyproject.tomlfile found in the root of the current repository. Usefull for retrieve the version of a Python project:jobs: version: uses: parcifal/common/.forgejo/workflows/toml-attribute.yml with: key: version test: runs-on: docker needs: - version steps: - run: | echo "version: ${{ needs.version.outputs.value }}"
Usage
Workflows can be called using the uses directive:
jobs:
test:
uses: parcifal/common/.forgejo/workflows/<name>.yml
with:
foo: bar