Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
25 changes: 25 additions & 0 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
# Contribution guidelines

Thank you for your interest in contributing to this project!
We welcome external contributions and aim to make the process as smooth as possible.

## Workflow

1. **Fork the repository**<br>
Please begin by creating a public fork of the repository on your own GitHub account.
We disabled the creation of branches on the upstream repository for all users to prevent that stale branches are left hanging around.

2. **Enable the CI on your fork**<br>
Enable Github Actions on your fork to run the CI.
This will run a broader set of jobs than the PR-triggered CI, which require permissions on the repo's cache and container registry.
The maintainers will check your fork's CI to validate your PR.

3. **Open a PR to `devel`**<br>
Once your changes are ready, open a PR targeting the `devel` branch (**not** `main`).
If your contributions are still a work-in-progress, e.g. some of the CI checks on your fork are still failing, please open the PR as a draft.
Once your PR is merged into `devel`, additional CI jobs will run on our internal servers, with access to commercial licenses and proprietary tools.
The maintainers will take care of any issues, and push the contributions to `main` once all issues are fixed.

## Communication

If you're planning a larger contribution or need clarification, feel free to open an issue. We're happy to help guide you.
6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,10 @@ Unless specified otherwise in the respective file headers, all code in this repo
- Register file code (e.g. [hw/regs/*.sv](hw/regs/)) is generated using a fork of lowRISC's [regtool](https://github.com/lowRISC/opentitan/blob/master/util/regtool.py) and is licensed under Apache 2.0 (see [LICENSE-APACHE](LICENSE-APACHE)).
- All software sources are licensed under Apache 2.0.

## 👥 Contributing

If you would like to contribute to this project, please check our [contribution guidelines](CONTRIBUTING.md).

## 🚀 Getting started
### Environment setup for IIS-members
For IIS members, set up the environment by sourcing the `iis-env.sh` script:
Expand Down Expand Up @@ -117,3 +121,5 @@ python scripts/run_clang_format.py -ir sw/ --clang-format-executable=/usr/pack/r
python scripts/run_clang_format.py -ir hw/ --clang-format-executable=/usr/pack/riscv-1.0-kgf/pulp-llvm-0.12.0/bin/clang-format
```
If you're not using the IIS setup, specify a valid `clang-format-12` binary instead.
.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@Lore0599 typo?

Copy link
Contributor Author

@Lore0599 Lore0599 Aug 14, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@DanielKellerM Yes I'm using this PR as a test to see if I can trigger the CI in PR coming from forks, sorry I forget to set the PR as a draft