jupyter-incubator / sparkmagic

Jupyter magics and kernels for working with remote Spark clusters
Other
1.33k stars 447 forks source link

[BUG] Release Workflow doesn't Trigger Publish Workflow #938

Open devstein opened 1 week ago

devstein commented 1 week ago

Describe the bug

https://github.com/jupyter-incubator/sparkmagic/blob/master/.github/workflows/release.yml doesn't trigger https://github.com/jupyter-incubator/sparkmagic/blob/master/.github/workflows/publish.yml

Additional context

I assume this is because the event is ignore from the GH actions actor

dosubot[bot] commented 3 days ago

The 'release.yml' workflow is set to trigger the 'publish.yml' workflow on the release event with the type released [1]. However, if the 'publish.yml' workflow is not being triggered, it could be due to an 'if' condition in the 'publish.yml' workflow. The 'build' job in 'publish.yml' has an 'if' condition that requires the conclusion of the 'workflow_run' event to be 'success' for it to run:

if: ${{ github.event.workflow_run.conclusion == 'success' }}

If this condition is not met, the 'build' job will not execute [1]. Additionally, there might be other conditions or filters not specified in the available information that could prevent the triggering.

To continue talking to Dosu, mention @dosu.