Closed sophokles73 closed 4 months ago
The way I see it, we have two options
Personally, I would prefer option 2 in order to reduce the runtime of CI checks/build for PRs that do not change proto3 files.
@stevenhartley WDYT?
@sophokles73 I suggest a 3rd option which is to configure the job to only run when there are changes to the up-core-api folder.
That is already the case, and that is also the problem. The job does not run when there are no changes to the up-core-api folder. But GitHub prevents merging unless the output of this job is available ....
OK I know then where the bug is, it is in the branch protection rules of .eclipsefn?
Yes, that's option 2 ...
OK found the bug, here is fix: https://github.com/eclipse-uprotocol/.eclipsefdn/pull/51
A PR for the up-spec repository which does not contain changes proto3 files cannot be merged.
This is because the verify-pr job that is used for checking if the Core API protos can still be transformed into Java code, is configured as required for each pull request in the up-spec repo. However, this job is configured to only ever run, if some file(s) in the
up-core-api
folder are changed as well.