-
Notifications
You must be signed in to change notification settings - Fork 29
[DO NOT MERGE] AB Testing POC #13798
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
Size Change: 0 B Total Size: 973 kB ℹ️ View Unchanged
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Initial draft of this file here: https://gist.github.com/cemms1/0d5c69d00b82eee1c0cdb609d345bf75
ab-testing/abTest.ts
Outdated
/** Description of the AB test */ | ||
description: string; | ||
/** Email address of owner(s) of the test */ | ||
owners: string[]; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
TODO: Create owner definition as "team" type complete with name and email. Would like to be able to identify which team was running the AB test in the data lake
67b8c62
to
59ca921
Compare
59ca921
to
1674a26
Compare
Notes from 17/04/2025:
|
Notes from 24/04/2025:
|
Set up initial validation system for AB tests
name: 🦕 AB testing | ||
runs-on: ubuntu-latest | ||
defaults: | ||
run: | ||
working-directory: ab-testing/scripts | ||
steps: | ||
- uses: actions/checkout@v4 | ||
|
||
# https://github.com/denoland/setup-deno#latest-stable-for-a-major | ||
- uses: denoland/setup-deno@v1 | ||
with: | ||
deno-version: v2.2 | ||
|
||
- name: Test | ||
run: deno test | ||
|
||
- name: Validate | ||
run: deno run validate | ||
|
||
# - name: Build | ||
# run: deno run build | ||
|
||
# - name: Deploy | ||
# run: deno run deploy |
Check warning
Code scanning / CodeQL
Workflow does not contain permissions Medium
Show autofix suggestion
Hide autofix suggestion
Copilot Autofix
AI 5 days ago
To fix the issue, we will add a permissions
block at the workflow level (root) to explicitly define the least privileges required. Since the workflow only involves testing and validation, it likely only needs contents: read
permissions. This ensures that the workflow adheres to the principle of least privilege and avoids granting unnecessary write permissions.
-
Copy modified lines R2-R3
@@ -1,2 +1,4 @@ | ||
name: 🦕 AB testing | ||
permissions: | ||
contents: read | ||
on: |
No description provided.