zopencommunity / metaport

To be able to build the meta repo with zopen
Apache License 2.0
1 stars 2 forks source link

Unexpected bump failure notifications (in fork) #49

Closed netskink closed 9 months ago

netskink commented 9 months ago

Hello

I have an email regarding the new bump failure. I don't really understand why they occur. Could someone talk to me about this:

https://github.com/netskink/metaport/actions/runs/7232632116

I want to make sure I can avoid the failures.

John

DevonianTeuchter commented 9 months ago

I suspect you have the workflow actions enabled on your fork which might trigger bump... maybe? @v1gnesh bump is your thing - any ideas??

v1gnesh commented 9 months ago

Ah yes, I get these too when I have a fork of a repo that has the bump workflow in it. Just rename .github to .gothub until you're ready to let Actions kick in.

netskink commented 9 months ago

ahh, many thanks.

I wonder if there is a way to "enable" actions in the fork without getting the messages by stubbing stuff in the forks settings.

Any docs on bump, actions, and related content you all advise to read?

v1gnesh commented 9 months ago

Here's the gist of what bump does - https://github.com/ZOSOpenTools/gitport/pull/74

I could be wrong, but I think it gets complicated (trying to make the "as is" Action work in a fork). Because the fork will then have workflows that are specific to the fork, and you can't send it as a PR until it's exactly what the target repo needs.

Since it isn't possible to have a workflow only in one place (covering the whole org), we need to have a bump.yml in all repos, and that then uses this as a reusable sub-workflow.

In general, I've seen mentions of "making CI workflows work in a repo's fork, to allow contributors to run CI stuff", but haven't looked into it.

netskink commented 9 months ago

Hello V1gnesh,

Ok. Good deal. I appreciate the info. I wonder how to summarize all this info. I can close the issue, but the info needs to be elevated. I wonder if a section in the docs/site under developer notes would be a good place.

netskink commented 9 months ago

Many thanks!

v1gnesh commented 9 months ago

Yup, doc update is needed. But I'm holding off on it as I have this unreasonable aversion towards front end stuff lol. Plus, if I ever get to it, I would like to give the docs site a makeover, making it look like a mix of this & this.

@IgorTodorovskiIBM @MikeFultonDev - please flag to someone in IBM - the zos hot topics site is dead :smiling_face_with_tear: