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

[wip] testing subnet-evm sync workflow #636

Draft
wants to merge 24 commits into
base: master
Choose a base branch
from

Conversation

darioush
Copy link
Collaborator

don't merge it yet.

Comment on lines +44 to +47
- name: Restore .github/workflows
run: |
git checkout -- .github/workflows
Copy link
Collaborator

@ceyonur ceyonur Aug 22, 2024

Choose a reason for hiding this comment

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

AFAIK it requires a special token if you want to modify a workflow with a workflow

Copy link
Collaborator

Choose a reason for hiding this comment

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

This looks dope. Once upon a time I tried to come up with a similar workflow but ended up needing a special token. I think this script won't require token since it creates the PR in the same repo (coreth). What I had been previously trying to accomplish was:

  • Once a PR is merged in Subnet-EVM master, create a subsequent PR in coreth by cherry-picking those commits. The workflow can poll from Coreth side or pushes from Subnet-EVM side (pushing requires a special token though).
  • I preferred to open PR for single commits to make it easier to review since the context and diffs would be fewer than doing moving diffs in bulk.
  • This requires PRs to be merged in squashed commits, otherwise ends up having too much sync PRs.

I'm not saying we should have these, just sharing my previous ideas.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants