Skip to content

armgit / ente

Public Imported from GitHub
0

πŸ’š End-to-end encrypted cloud for everything.

[ci] Allow scoped Ensu auto-approval for setalp

laurenspriem839f31f30d91
diff --git a/.github/workflows/pr-approval.yml b/.github/workflows/pr-approval.yml
index 5348211fbd..db5a0478fc 100644
--- a/.github/workflows/pr-approval.yml
+++ b/.github/workflows/pr-approval.yml
@@ -16,7 +16,7 @@ jobs:
# Keep author IDs in sync with the rules below.
if: >-
github.repository == 'ente/ente' &&
- contains(fromJSON('[24503581,231175576,239996999,64626875,293300083,2698932,281837475]'), github.event.pull_request.user.id) &&
+ contains(fromJSON('[24503581,231175576,239996999,64626875,293300083,2698932,281837475,113718372]'), github.event.pull_request.user.id) &&
github.event.sender.id == github.event.pull_request.user.id &&
github.triggering_actor == github.event.sender.login &&
github.event.pull_request.changed_files <= 100 &&
@@ -69,6 +69,16 @@ jobs:
"mobile/packages/ente_components/",
],
},
+ 113718372: {
+ allowPrefixes: [
+ "android/apps/ensu/",
+ "apple/apps/ensu/",
+ "rust/apps/ensu/",
+ "rust/bindings/uniffi/ensu/",
+ "rust/crates/ensu/",
+ "web/apps/ensu/",
+ ],
+ },
};
const { pull_request: pr } = context.payload;
const rule = rules[pr.user.id];