Prevent builds from running (OD-1192)
Closed
Unknown opened 1 year ago

Is there currently any method to prevent builds from running. I have a bunch of forked projects, such as the fork of this repository, and the docs repository, and every time I sync they attempt to run the CI/CD builds and all fail (for obvious reasons).

I can not delete the CI/CD configuration as it would cause divergent branches, so is there any repository setting to prevent CI/CD or disable it. If not, would you mind adding it?

Thanks, Polarian

Robin Shen commented 1 year ago

Job trigger has an applicable projects setting to allow it being triggered only for designated projects. For CI/CD applicable projects is not specified as I think it is good to turn on for all projects. What causes failure of CI/CD at your side?

Unknown commented 1 year ago

@robin because I am pulling your repos onto my community instance for better development, but every pull automatically attempts to build and publish new builds, such as pushing to your github repo and stuff like that.

How do I make it stop!

Robin Shen commented 1 year ago

OK, the release and sync job runs if the project path is onedev/server. Just use some other name will not trigger that job.

Robin Shen changed state to 'Closed' 1 year ago
Previous Value Current Value
Open
Closed
issue 1 of 1
Type
Question
Priority
Normal
Assignee
Issue Votes (0)
Watchers (3)
Reference
OD-1192
Please wait...
Page is in error, reload to recover