Skip to content

Conversation

@Yang-33
Copy link
Contributor

@Yang-33 Yang-33 commented Apr 7, 2025

To re-enable the merge queue, this change adds merge_group to several jobs.

original: line/line-bot-sdk-java#1592

Additionally, by using actions/checkout, this change modifies how to inject the latest openapi schema so that the bot SDK tests always run with the latest line-openapi, even outside of PRs. This will be a safer approach.

@Yang-33 Yang-33 requested a review from a team April 7, 2025 02:30
@Yang-33 Yang-33 self-assigned this Apr 7, 2025
@Yang-33 Yang-33 enabled auto-merge April 7, 2025 03:24
@Yang-33 Yang-33 added this pull request to the merge queue Apr 7, 2025
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Apr 7, 2025
@eucyt eucyt added this pull request to the merge queue Apr 7, 2025
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Apr 7, 2025
@Yang-33 Yang-33 marked this pull request as draft April 7, 2025 04:07
@Yang-33
Copy link
Contributor Author

Yang-33 commented Apr 7, 2025

Thank you for the review. It seems to fail at the part where line-openapi is injected into other SDK repositories. git remote add pr-source $PR_REPO_URL failed.
I'll fix it, but it might take some time, so I've temporarily marked it as a draft.

@Yang-33 Yang-33 marked this pull request as ready for review April 7, 2025 04:39
@Yang-33 Yang-33 marked this pull request as draft April 7, 2025 04:40
Comment on lines -22 to -30
run: |
cd line-openapi
git remote add pr-source $PR_REPO_URL
git fetch pr-source $PR_REF
git checkout FETCH_HEAD
env:
PR_REPO_URL: ${{ github.event.pull_request.head.repo.clone_url }}
PR_REF: ${{ github.event.pull_request.head.ref }}
Copy link
Contributor Author

Choose a reason for hiding this comment

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

This is a way to make it work only when pull request. This change fixes the checkout way so that it always works as expected.

@Yang-33 Yang-33 marked this pull request as ready for review April 7, 2025 05:32
@Yang-33 Yang-33 requested a review from eucyt April 7, 2025 05:32
@github-actions
Copy link

github-actions bot commented Apr 7, 2025

JAVA

You can check generated code in java

Check the diff here

@github-actions
Copy link

github-actions bot commented Apr 7, 2025

PHP

You can check generated code in php

Check the diff here

@github-actions
Copy link

github-actions bot commented Apr 7, 2025

NODEJS

You can check generated code in nodejs

Check the diff here

@github-actions
Copy link

github-actions bot commented Apr 7, 2025

GO

You can check generated code in go

Check the diff here

@github-actions
Copy link

github-actions bot commented Apr 7, 2025

PYTHON

You can check generated code in python

Check the diff here

@Yang-33 Yang-33 enabled auto-merge April 7, 2025 05:37
@Yang-33 Yang-33 added this pull request to the merge queue Apr 7, 2025
Merged via the queue into main with commit 31fa3c7 Apr 7, 2025
19 checks passed
@Yang-33 Yang-33 deleted the merge-queue-2 branch April 7, 2025 05:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants