Skip to content

epfl-si/md-config

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

42 Commits
 
 
 
 

Repository files navigation

Reusable Workflows or different CI processes

GitHub Documentation: https://docs.github.com/en/actions/using-workflows/reusing-workflows#creating-a-reusable-workflow

Principle:

  • A called workflow is defined in this repository. It utilizes the inputs and secrets keywords to define inputs or secrets that will be passed from a caller workflow.

  • The caller workflow is defined in a separate repository.

    uses: epfl-si/md-infra/.github/workflows/frontend_ci.yml@main
    

Advantages :

  • ensure that all projects follow the same CI/CD process
  • simplified maintenance
  • version control and dependency management