Configuration and documentation for the Open Climate Fix GitHub organisation.
Found in .github/ISSUE_TEMPLATE and ./PULL_REQUEST_TEMPLATE.md respectively. These files are used across the organisation as issue templates.
Can be found in .profile/README.md and is rendered by GitHub on the OCF organisation page.
To reduce duplication, we offer a set of reusable workflows that are used across most of our repositories. The following workflows can be found in .github/workflows/:
branch_ci: Lints, tests, and optionally containerizes python code (to be used on pushes to non-default branches).bump_tag: Creates a new semantically versioned tag (to be used on merges to the default branch).tagged_ci: Publishes containers and wheels (to be used on pushes to semantic tags)
You can use these workflows in any other workflow using the syntax {owner}/{repo}/{path}/{filename}@{ref}. For example:
name: Branch CI
on:
push:
branches-ignore: ["main"]
jobs:
run-ci:
uses: openclimatefix/.github/.github/workflows/branch_ci@mainYou can learn more about reusable workflows in the GitHub docs.