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

Upgrade handler code-gen #4031

Merged
merged 16 commits into from
Jan 18, 2023
Merged

Upgrade handler code-gen #4031

merged 16 commits into from
Jan 18, 2023

Conversation

MasterPi-2124
Copy link
Contributor

Closes: #3632 and #3628

What is the purpose of the change

Auto-apply our mandatory state-compatibility labels
Auto-run CI upon opening the code-generated pool request.

Testing and Verifying

I created a pr on notional-labs/osmosis, which can be seen here https://github.com/notional-labs/osmosis/pull/96

…124/osmosis into MasterPi-2124/upgrade-handler # Please enter a commit message to explain why this merge is necessary, # especially if

it merges an updated upstream into a topic branch. # # Lines starting with '#' will be ignored, and an empty message aborts # the commit.
@MasterPi-2124 MasterPi-2124 marked this pull request as draft January 16, 2023 10:08
@MasterPi-2124 MasterPi-2124 marked this pull request as ready for review January 16, 2023 10:08
@MasterPi-2124 MasterPi-2124 marked this pull request as draft January 16, 2023 10:08
@MasterPi-2124
Copy link
Contributor Author

@p0mvn can you take a look into that? Thankyou <3

Copy link
Member

@pysel pysel left a comment

Choose a reason for hiding this comment

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

LGTM!

scripts/empty_upgrade_handler_gen.sh Outdated Show resolved Hide resolved
@pysel pysel requested review from pysel and p0mvn January 16, 2023 15:50
@MasterPi-2124 MasterPi-2124 marked this pull request as ready for review January 17, 2023 04:57
run: bash ./scripts/empty_upgrade_handler_gen.sh ${{ env.input }}

- name: Create PR
if: env.MAJOR == 1
uses: peter-evans/create-pull-request@v4
with:
base: ${{ github.event.repository.default_branch }}
token: ${{ secrets.COMMIT_TO_BRANCH }}
Copy link
Member

Choose a reason for hiding this comment

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

Why do we need to update this?

Copy link
Member

Choose a reason for hiding this comment

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

Ahh it seems to me that we need this for the similar reasons to the import paths action:

token: ${{ secrets.COMMIT_TO_BRANCH }}

@p0mvn p0mvn added the V:state/compatible/no_backport State machine compatible PR, depends on prior breaks label Jan 18, 2023
Copy link
Member

@p0mvn p0mvn left a comment

Choose a reason for hiding this comment

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

LGTM, thank you, going to test shortly

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
T:build T:CI V:state/compatible/no_backport State machine compatible PR, depends on prior breaks
Projects
None yet
Development

Successfully merging this pull request may close these issues.

feat(ci/code-gen): upgrade handler code gen bumps up e2e-init version
3 participants