gregsdennis / dependencies-action

A GitHub Action that enforces PR dependencies
MIT License
33 stars 10 forks source link

Make workflow work when PR is opened from fork #19

Closed efb4f5ff-1298-471a-8973-3d47447115dc closed 1 year ago

efb4f5ff-1298-471a-8973-3d47447115dc commented 1 year ago

When u create a PR from a fork the workflow will not run. Please make it possible for the workflow to run when a pr is created from a fork

gregsdennis commented 1 year ago

Can you elaborate on "will not run"? What do you mean by this? Does it run but fail, or does it just not run at all?

efb4f5ff-1298-471a-8973-3d47447115dc commented 1 year ago

it does not run at all

gregsdennis commented 1 year ago

I think that's a repository/fork setting, and not something to do with this action.

Please see

efb4f5ff-1298-471a-8973-3d47447115dc commented 1 year ago

See https://github.com/gregsdennis/dependencies-action/pull/20

efb4f5ff-1298-471a-8973-3d47447115dc commented 1 year ago

I think that's a repository/fork setting, and not something to do with this action.

Please see

* https://docs.github.com/en/actions/managing-workflow-runs/approving-workflow-runs-from-public-forks

* https://github.blog/2020-08-03-github-actions-improvements-for-fork-and-pull-request-workflows/

This is actually not true we have workflows running in our repo that work fine when a PR is opened from fork See https://github.com/FreeTubeApp/FreeTube/blob/development/.github/workflows/conflicts.yml

efb4f5ff-1298-471a-8973-3d47447115dc commented 1 year ago

Its working -.- Welp apologies for taking your time i clearly misconfigured it somehow

gregsdennis commented 1 year ago

we have workflows running in our repo that work fine when a PR is opened from fork

I've noticed in other repos that some workflows run automatically from forks while others don't. I'm not sure what the criteria is for that to occur. I can explore that.