The upstream repo for contributions to the Red Hat Developer Hub product documentation is:
The downstream repo (with pantheon integration) is:
Please make changes to the GitHub repo. Changes made to GitLab will be overwritten.
Sync is set up for any and all PROTECTED branches in the upstream GitHub repo.
Should you meed to recreate the mirror setup, here are the steps:
-
delete and create a new mirror rule from the
Mirroring repositories
section under Settings > Repository.-
use the format https://[email protected]/redhat-developer/rhdh-documentation-sync.git (NOTE: use the original repo name for redhat-developer/red-hat-developers-documentation-rhdh or sync will fail)
-
for the password, use the bot-user’s PAT (see gitlab repo rhidp/productization/secrets for the latest or to create a new one when the current one expires)
-
select the option to only mirror PROTECTED branches from the upstream repo
-
-
apply new Personal Access Token under Settings > Integrations > Github.
-
You can manually trigger a sync from the
Mirroring repositories
section under Settings > Repository.