##============================================================================
##  The contents of this file are covered by the Viskores license. See
##  LICENSE.txt for details.
##
##  By contributing to this file, all contributors agree to the Developer
##  Certificate of Origin Version 1.1 (DCO 1.1) as stated in DCO.txt.
##============================================================================

# Include the github-sync component
include:
  - component: $CI_SERVER_FQDN/dav-sdk/gh-gl-sync/github-sync@~latest
    inputs:
      github_project: viskores/viskores
      gitlab_repo: git@ssh.gitlab.spack.io:viskores/viskores.git
      gitlab_host: https://gitlab.spack.io/
      gitlab_project: viskores/viskores
      prereq_check: format
      status_context: "Frank CI"
      sync_draft_prs: true
    rules:
      - if: $CI_SERVER_HOST == "gitlab.spack.io"
