Skip to content

Commit cfc8040

Browse files
roypatpb8o
authored andcommitted
fix: Trigger A/B-Test runs by $GITHUB_REF_NAME
Currently, our runs get triggered on `/ref/heads/main`. For consistency with other pipelines, normalize that to just `main`. Signed-off-by: Patrick Roy <[email protected]>
1 parent 4b06cc8 commit cfc8040

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/trigger_ab_tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
-H 'Authorization: Bearer ${{ secrets.BUILDKITE_TOKEN }}' \
1717
-d '{
1818
"commit": "HEAD",
19-
"branch": "${{ github.event.ref }}",
19+
"branch": "$GITHUB_REF_NAME",
2020
"env": {
2121
"REVISION_A": "${{ github.event.before }}",
2222
"REVISION_B": "${{ github.event.after }}"

0 commit comments

Comments
 (0)