autogits/workflow-direct
2024-11-03 22:21:57 +01: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 {wip} tests 2024-11-03 22:21:57 +01:00
main.go {wip} tests 2024-11-03 22:21:57 +01: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