-
Notifications
You must be signed in to change notification settings - Fork 140
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
use feature branch for cadence->flow-go sync PRs #1441
Conversation
Creates feature-secure-cadence branch off of master, if needed.
QUESTION: How do I test this?
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice!
Cadence Benchstat comparisonThis branch with compared with the base branch onflow:master commit bbb0c74 Results
|
@robert-e-davidson3 feel free to merge |
branch names should be feature/ not feature- Co-authored-by: Supun Setunga <[email protected]>
@@ -45,6 +47,16 @@ jobs: | |||
NEW_BRANCH=auto-cadence-upgrade/$( date +%s )/${{ github.event.pull_request.head.ref }} | |||
echo "NEW_BRANCH=$NEW_BRANCH" >> $GITHUB_ENV | |||
|
|||
# create feature branch if needed | |||
- name: Create feature-secure-cadence branch |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@robert-e-davidson3 Shouldn't this match with the above branch name (feature/secure-cadence
)?
# create feature branch if needed | ||
- name: Create feature-secure-cadence branch | ||
uses: peterjgrainger/[email protected] | ||
if: ${{ env.BASE_BRANCH == "feature-secure-cadence" }} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
same here
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
with: | ||
branch: feature-secure-cadence |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
also here
Creates feature-secure-cadence branch off of master, if needed.
Closes #1415
Description
We want to keep the flow-go and cadence repos synchronized. But that does not always extend to their master branches.
To this end every cadence PR that makes it into master creates a PR in the flow-go repo. They use a version of cadence that corresponds to the cadence PR that made it into master.
Currently we base off of the flow-go master branch. This is a problem because our cadence and flow-go releases are disjoint while cadence is undergoing major breaking changes in preparation for the secure cadence release. We don't want to add such breaking changes to flow-go releases in the meantime.
The solution here is to branch off of master into a new branch
feature-secure-cadence
. This branch needs to be periodically (manually) synchronized with the flow-go master branch.When it's time to release secure cadence, the feature branch will be merged into master.
master
branchFiles changed
in the Github PR explorer