No description
Find a file
Michaël van de Weerd 230efc09b3
All checks were successful
/ tag (push) Successful in 7s
remove debug
2026-01-28 14:51:04 +01:00
.forgejo/workflows fix workflow 2026-01-28 14:36:12 +01:00
.idea Added toml attr action 2026-01-25 13:13:59 +01:00
git remove debug 2026-01-28 14:51:04 +01:00
pylint Update tags 2026-01-28 11:20:47 +01:00
pytest Update tags 2026-01-28 11:20:47 +01:00
python Update tags 2026-01-28 11:20:47 +01:00
release restructure, added tag delete 2026-01-28 11:56:30 +01:00
toml-attribute Update tags 2026-01-28 11:20:47 +01:00
twine Update tags 2026-01-28 11:20:47 +01:00
README.md Fix value output 2026-01-12 22:00:13 +01:00

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
    Takes sections (defaults to "project") and key (required) and reads the associated value from the pyproject.toml file 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