Skip to content

Run CI on forks #2146

@brownbaerchen

Description

@brownbaerchen

In order to make contributions easier, it would be fantastic if we had a clean CI that people can run on their forks. The current workflows are specific to the main repository and fail when run on a fork.
We are currently adding a workflow in #2134 that would run on push on any branch, enabling people to use CI for developments on their own forks, which is great.
So I am happy if we

  • Merge Prune CI matrix #2134 to get a CI workflow that people can run on their forks
  • Add something like if: ${{ !github.event.repository.fork }} to workflows that rely on secrets / HPC resources and can't run on forks

This is a crucial step for the Heat hackathon that will be organized as part of HeatHub such that people use their own GitHub CI resources during development on their own forks and do not exhaust the resources of the main repository. Gotta love forks.

Metadata

Metadata

Assignees

No one assigned

    Labels

    HeatHubThe HeatHub project, as part of Science Serve, aims to foster the Heat community.

    Type

    No type

    Projects

    Status

    Todo

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions