apple / pfl-research

Simulation framework for accelerating research in Private Federated Learning
http://apple.github.io/pfl-research/
Apache License 2.0
285 stars 27 forks source link

Adhere to Apple's CircleCI policies to fix broken builds #16

Closed grananqvist closed 7 months ago

grananqvist commented 7 months ago

Apple org on CircleCI has added policies here https://app.circleci.com/settings/organization/github/apple/policies/baseline_apple

which results in you can only run CI on main repo on branches "^main|gh-readonly-queue/main/pr-\d+-[0-9a-f]{40}.*$" and PR builds need to be hold by approval. Builds currently not running because of error message:

policy evaluation failed:
baseline_apple_requirements: workflow 'build_and_test' runs on unsafe branches and first job must be hold

I have tested this fix works on my personal fork: image