Skip to content

Commit db2c4ba

Browse files
authored
chore: only accept deployment from tmp branches protected by rulesets (#1481)
## Description Further restrict the branches that can trigger a BixArena deployment during the IaC development phase to only those protected by GitHub rulesets. Currently, these rulesets allow only Sage monorepo administrators to create or modify branches that match the newly proposed branch naming pattern. This PR addresses this [comment](https://github.com/Sage-Bionetworks-IT/organizations-infra/pull/1480/files#r2415219248). <img width="790" height="358" alt="image" src="https://github.com/user-attachments/assets/c3ac5e96-e50a-43e7-b820-1340caeb2124" /> Once the IaC and GitHub workflows are complete, and we can ensure that only authorized events and users can trigger deployments, a new PR will be opened to add main back to the list of branches allowed to trigger a deployment. Cc: @zaro0508
1 parent 70e8d25 commit db2c4ba

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

org-formation/650-identity-providers/_tasks.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -933,7 +933,7 @@ GithubOidcBixArenaInfra:
933933
GitHubOrg: "Sage-Bionetworks"
934934
Repositories:
935935
- name: "sage-monorepo"
936-
branches: ["main","prod","infra/test-bixarena-infra-workflow"]
936+
branches: ["infra/bixarena/*"]
937937
DefaultOrganizationBinding:
938938
Account:
939939
- !Ref BixArenaProdAccount

0 commit comments

Comments
 (0)