https://github.com/os-climate/osc-github-devops
Template Python project, common tests, GitHub Actions/Workflows, linting tools
https://github.com/os-climate/osc-github-devops
Last synced: about 2 months ago
JSON representation
Template Python project, common tests, GitHub Actions/Workflows, linting tools
- Host: GitHub
- URL: https://github.com/os-climate/osc-github-devops
- Owner: os-climate
- License: apache-2.0
- Created: 2024-10-16T09:47:10.000Z (8 months ago)
- Default Branch: main
- Last Pushed: 2025-04-07T18:12:07.000Z (2 months ago)
- Last Synced: 2025-04-07T19:26:19.714Z (2 months ago)
- Language: Python
- Size: 1.14 MB
- Stars: 0
- Watchers: 1
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# OS-Climate GitHub Actions and Reusable Workflows
[](https://os-climate.org/) [](https://os-climate.slack.com) [](https://github.com/os-climate/osc-github-devops) [](https://pypi.org/project/osc-github-devops) [](https://opensource.org/licenses/Apache-2.0)
[![pre-commit.ci status badge]][pre-commit.ci results page] [](https://test.pypi.org/project/osc-github-devops) [![๐งช GitHub Actions CI/CD workflow tests badge]][GHA workflow runs list] [](https://github.com/os-climate/osc-github-devops/actions/workflows/codeql.yml) [](https://scorecard.dev/viewer/?uri=github.com/os-climate/osc-github-devops)
## Composite actions and reusable workflows for Python projects
### OS-Climate and FINOS are both Linux Foundation projects
- [https://os-climate.org/](https://os-climate.org/)
- [https://www.finos.org/](https://www.finos.org/)
- [https://www.linuxfoundation.org/](https://www.linuxfoundation.org/)### Description
This repository contains shared GitHub composite actions and workflows.
The purpose of these is to provide small modular components and larger pieces
of shared DevOps functionality which may be helpful to the OS-Climate
community, and indeed other open-source projects. Right now, the current focus is
on Python and the tooling around Python projects, since that is the language
used for most of OS-Climate projects and repositories.### Python Template Code
The repository also contains a sample/template Python project, published to the
Python package index and is installable with the Python "pip" command. The
sample code acts as a test be to ensure Python packages will build, test and
publish using the supplied GitHub composite actions and workflows.Relevant link to the Python package index project page:
- [osc-github-devops](https://pypi.org/project/osc-github-devops)
In the meantime, here is some general documentation covering the relevant topics:
- [Reusing workflows](https://docs.github.com/en/actions/using-workflows/reusing-workflows)
- [How to start using reusable workflows with GitHub Actions](https://github.blog/2022-02-10-using-reusable-workflows-github-actions/)
- [Create reusable workflows in GitHub Actions](https://resources.github.com/learn/pathways/automation/intermediate/create-reusable-workflows-in-github-actions/)
- [The Ultimate Guide to GitHub Reusable Workflows](https://www.dhiwise.com/post/the-ultimate-guide-to-github-reusable-workflows-maximize-efficiency-and-collaboration)[๐งช GitHub Actions CI/CD workflow tests badge]: https://github.com/os-climate/osc-github-devops/actions/workflows/merge-build-test-release.yaml/badge.svg?branch=main&event=push
[GHA workflow runs list]: https://github.com/os-climate/osc-github-devops/actions/workflows/merge-build-test-release.yaml?query=branch%3Amain
[pre-commit.ci results page]: https://results.pre-commit.ci/latest/github/os-climate/osc-github-devops/main
[pre-commit.ci status badge]: https://results.pre-commit.ci/badge/github/os-climate/osc-github-devops/main.svg