autogits/workflow-direct
Adam Majer 5de077610c direct: use CloneURL instead of SSH
Make sure that we use public CloneURL instead of SSH for submodule
OBS doesn't fetch submodules with SSH schema
2024-09-25 16:33:07 +02:00
..
.gitignore rename things 2024-09-13 14:58:10 +02:00
example.json rename things 2024-09-13 14:58:10 +02:00
go.mod rename things 2024-09-13 14:58:10 +02:00
go.sum rename things 2024-09-13 14:58:10 +02:00
main_test.go rename things 2024-09-13 14:58:10 +02:00
main.go direct: use CloneURL instead of SSH 2024-09-25 16:33:07 +02:00
README.md rename things 2024-09-13 14:58:10 +02:00

Direct Workflow bot

Areas of responsibility

  1. Keep ProjectGit in sync with packages in the organization

    • on pushes to package, updates the submodule commit id to the default branch HEAD (as configured in Gitea)
    • on package adds, creates a new submodule
    • on package removal, removes the submodule
  2. Assumes:

    • config.GitProjectName == project name (default: _ObsPrj)
    • Other repositories == packages (similar to OBS project)
    • config.Branch == "" => default branch from Gitea

Target Usage

Devel project, where direct pushes to package git are possible