Skip to content

Commit f171b3e

Browse files
authored
Merge branch 'main' into fix/python-pass-query-params
2 parents 2ca5557 + bed1191 commit f171b3e

File tree

496 files changed

+11121
-10140
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

496 files changed

+11121
-10140
lines changed

.github/workflows/check.yml

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -531,7 +531,6 @@ jobs:
531531
- uses: actions/checkout@v4
532532
with:
533533
fetch-depth: 0
534-
ref: ${{ github.event.pull_request.head.ref }}
535534
token: ${{ secrets.ALGOLIA_BOT_TOKEN != '' && secrets.ALGOLIA_BOT_TOKEN || secrets.GITHUB_TOKEN }}
536535

537536
- name: Download all artifacts
@@ -571,12 +570,17 @@ jobs:
571570
} >> "$GITHUB_OUTPUT"
572571
rm -rf tests/output/**/benchmarkResult.json
573572
573+
- name: Extract branch name
574+
id: extract_branch
575+
run: echo "branch=${GITHUB_HEAD_REF:-${GITHUB_REF#refs/heads/}}" >> $GITHUB_OUTPUT
576+
574577
- name: Push generated code
575578
id: pushGeneratedCode
576579
run: yarn workspace scripts pushGeneratedCode
577580
env:
578581
GITHUB_TOKEN: ${{ secrets.ALGOLIA_BOT_TOKEN != '' && secrets.ALGOLIA_BOT_TOKEN || secrets.GITHUB_TOKEN }}
579582
PR_NUMBER: ${{ github.event.number }}
583+
BRANCH_NAME: ${{ steps.extract_branch.outputs.branch }}
580584

581585
- name: update generation comment
582586
uses: marocchino/sticky-pull-request-comment@v2
@@ -663,8 +667,9 @@ jobs:
663667
- uses: actions/checkout@v4
664668
with:
665669
fetch-depth: 0
666-
ref: ${{ github.event.pull_request.head.ref }}
670+
ref: ${{ needs.codegen.outputs.generatedCommit }}
667671
token: ${{ secrets.ALGOLIA_BOT_TOKEN }}
672+
repository: ${{ github.event.pull_request.head.repo.full_name }}
668673

669674
- name: Setup
670675
uses: ./.github/actions/setup

clients/algoliasearch-client-csharp/algoliasearch/Models/Search/RenderingContent.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -71,8 +71,8 @@ public override bool Equals(object obj)
7171
}
7272

7373
return
74-
(FacetOrdering == input.FacetOrdering || (FacetOrdering != null && FacetOrdering.Equals(input.FacetOrdering))) &&
75-
(Redirect == input.Redirect || (Redirect != null && Redirect.Equals(input.Redirect)));
74+
(FacetOrdering == input.FacetOrdering || (FacetOrdering != null && FacetOrdering.Equals(input.FacetOrdering))) &&
75+
(Redirect == input.Redirect || (Redirect != null && Redirect.Equals(input.Redirect)));
7676
}
7777

7878
/// <summary>

0 commit comments

Comments
 (0)