Skip to content
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

ci: Separate the kvstore's response body and status code #3265

Merged
merged 4 commits into from
Dec 19, 2024

Conversation

Yaminyam
Copy link
Member

@Yaminyam Yaminyam commented Dec 17, 2024

This pull request includes a change to the jobs section in the .github/workflows/backport.yml file to improve the handling of HTTP status codes in the backport workflow.

Improvements to HTTP status code handling:

  • .github/workflows/backport.yml: Replaced the response variable with STATUS_CODE to store the HTTP status code directly. This change ensures that the script checks the status code correctly when determining the target branches for backporting.

Checklist: (if applicable)

  • Milestone metadata specifying the target backport version

@Yaminyam Yaminyam added this to the 24.12 milestone Dec 17, 2024
@Copilot Copilot bot review requested due to automatic review settings December 17, 2024 10:32

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot reviewed 1 out of 1 changed files in this pull request and generated no comments.

Comments suppressed due to low confidence (1)

.github/workflows/backport.yml:105

  • Ensure that the new behavior of checking the HTTP status code using STATUS_CODE is covered by tests.
if [ $STATUS_CODE == "404" ]; then
@Yaminyam Yaminyam added the skip:changelog Make the action workflow to skip towncrier check label Dec 17, 2024
@github-actions github-actions bot added the size:XS ~10 LoC label Dec 17, 2024
@achimnol achimnol added this pull request to the merge queue Dec 19, 2024
Merged via the queue into main with commit a0253e6 Dec 19, 2024
20 checks passed
@achimnol achimnol deleted the ci/fix-stacked-backport branch December 19, 2024 05:11
achimnol pushed a commit that referenced this pull request Dec 20, 2024
achimnol pushed a commit that referenced this pull request Dec 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
size:XS ~10 LoC skip:changelog Make the action workflow to skip towncrier check
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants