asyncapi / .github

Location of all reusable community health files
29 stars 65 forks source link

Try to improve autoupdate #227

Closed derberg closed 5 months ago

derberg commented 1 year ago

Reason/Context

The autoupdate workflow doesn't work with forks.

It can update only branches that are in the upstream.

Description

When the branch from the fork is out of sync with master, in the UI maintainers see a button that they can click to update the branch with master.

We should allow anyone to be able to trigger such an update.

If there is a button, there needs to be API behind it, REST or GraphQL. There needs to be a research on how to trigger such branch update in form with an API. Then we need to update autoupdate workflow

Shurtu-gal commented 1 year ago

@derberg Can I work upon this?

derberg commented 1 year ago

sure, go ahead

Shurtu-gal commented 1 year ago

cc - @derberg

derberg commented 1 year ago
Shurtu-gal commented 1 year ago

@derberg, can you please tell me the secrets stored in the repo so that I can introduce them into the code?

Also, the updation of forks requires a maintainer level of access, if I am not wrong. 😓

derberg commented 1 year ago

sorry, was out on holidays

yeah, I cannot give you secrets, this is why these are secrets 😛

Also, the updation of forks requires a maintainer level of access, if I am not wrong

yes, and our bots are maintainers in all repos, so that will work

derberg commented 1 year ago

you probably need to setup alternative test account to test it. I do it on my own too, have 2 GH accounts, one that you see here and the other purely for testing

Shurtu-gal commented 1 year ago

Got it 😄

derberg commented 6 months ago

/help

asyncapi-bot commented 6 months ago

Hello, @derberg! 👋🏼

I'm 🧞🧞🧞 Genie 🧞🧞🧞 from the magic lamp. Looks like somebody needs a hand!

At the moment the following comments are supported in issues: