Commit Graph

11 Commits

Author SHA1 Message Date
Roberto Jiménez Sánchez 48feba66e6
[Prototyping] Lint dashboard in pull requests (#97199)
* Make lint issues comment

* Make it work

* Delete previous comments

* Move linting to separate package

* Fix issue with refactoring

* Update test fixture
2024-11-29 16:24:45 +01:00
Roberto Jiménez Sánchez f113f11342
[Prototyping] Comment with preview links in pull requests (#97174) 2024-11-29 09:27:14 +01:00
Roberto Jiménez Sánchez d8b1834139
[Prototyping] Update resources on github webhook events (#97113)
* Add replicator interface
* Use factory to create replicators
* Use replicator in import
2024-11-28 11:48:42 +01:00
Roberto Jiménez Sánchez 364637a7e2
[Prototyping] Listen to pull requests and comment (#97040)
* Listen to Pull Requests and comment

* Fix template
2024-11-27 10:38:10 +01:00
Mariell Hoversholm ee91485b32
POC/Provisioning: Create an import endpoint (#97085)
* wip

* fix: don't panic on dirs

* fix: workaround dashboard Get returning 500 on 404
2024-11-27 10:10:29 +01:00
Roberto Jiménez Sánchez 5327c321f1
[Prototyping] validate branch name in backend (#97061)
* Validate branch name

* Add more positive cases

* Make the logic more readable
2024-11-26 20:55:37 +01:00
Roberto Jiménez Sánchez baca7c250e
[Prototyping] Ensure git branch exists in write operations for github repositories (#96998)
* Create branch when ref is passed

* Change approach to ensure branch already exists

* Fix error handling branch not found
2024-11-26 12:26:04 +01:00
Mariell Hoversholm eed0c9f2f4
feat: ignore gh cancel 2024-11-25 16:07:12 +01:00
Mariell Hoversholm 17582a3054
feat: pass around logger properly 2024-11-25 13:36:00 +01:00
Mariell Hoversholm cb72f89dfb
feat: add more logs 2024-11-25 13:02:27 +01:00
Mariell Hoversholm 42e9570808
POC/Provisioning: Fix: Make github client not call prod GH in tests (#96926)
* refactor: create repository package

* refactor: abstract GH client

* feat: generate mock

* feat: wire in factories

* test: make tests pass

* chore: go fmt
2024-11-25 11:51:29 +01:00