k8snetworkplumbingwg / sriov-cni

DPDK & SR-IOV CNI plugin
Apache License 2.0
307 stars 146 forks source link

🌱 Making workflows not run on forks. #294

Closed adilGhaffarDev closed 1 month ago

adilGhaffarDev commented 7 months ago

This PR is making sure that github workflows only run on upstream repo and not on forks.

coveralls commented 7 months ago

Pull Request Test Coverage Report for Build 8966234367

Details


Totals Coverage Status
Change from base Build 8835333415: 0.0%
Covered Lines: 602
Relevant Lines: 1267

💛 - Coveralls
adilGhaffarDev commented 4 months ago

@Eoghan1232 @SchSeba @adrianchiris can we merge this one?

zeeke commented 4 months ago

similar PR didn't work on sriov-device-plugin https://github.com/k8snetworkplumbingwg/sriov-network-device-plugin/actions/runs/9091929799

/hold

adrianchiris commented 2 months ago

a few comments on why we might not want this:

  1. you can disable actions on fork
  2. actions run against master and v* tags, on a normal dev flow you create some branch like "fix-something" then push to it. actions should not run on it.
  3. you may want to develop actions on your fork so in this case its beneficial for them to run on the fork for testing.

what is the reason to have this change ?

SchSeba commented 1 month ago

+1 from my side to not add this. you can just disable github actions on your fork. also it introduce an issue on the device plugin so if possible I will not like to add more complexity to our release pipeline :)

adrianchiris commented 1 month ago

closing this PR then.