sriov-cni icon indicating copy to clipboard operation
sriov-cni copied to clipboard

🌱 Making workflows not run on forks.

Open adilGhaffarDev opened this issue 11 months ago • 4 comments

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

adilGhaffarDev avatar Mar 11 '24 10:03 adilGhaffarDev

Pull Request Test Coverage Report for Build 8966234367

Details

  • 0 of 0 changed or added relevant lines in 0 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage remained the same at 47.514%

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

💛 - Coveralls

coveralls avatar Mar 11 '24 10:03 coveralls

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

adilGhaffarDev avatar May 14 '24 13:05 adilGhaffarDev

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

/hold

zeeke avatar May 15 '24 07:05 zeeke

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 ?

adrianchiris avatar Jul 31 '24 06:07 adrianchiris

+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 :)

SchSeba avatar Aug 20 '24 20:08 SchSeba

closing this PR then.

adrianchiris avatar Aug 21 '24 08:08 adrianchiris