Various Community and Code Health Files.
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/:
python-lint: Runsruff, andblackpython-test: Runspytestandpydoctestpython-release: Runs a release script
You can use these workflows in any other workflow using the syntax {owner}/{repo}/{path}/{filename}@{ref}. For example:
name: Lint Python
on: [push]
jobs:
call-run-python-linters:
uses: openclimatefix/.github/.github/workflows/python-lint.yml@mainYou can learn more about reusable workflows in the GitHub docs.