-
Notifications
You must be signed in to change notification settings - Fork 0
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
Configure pipeline to sync with upstream #14
base: atleta
Are you sure you want to change the base?
Conversation
- name: Checkout code | ||
uses: actions/checkout@v2 | ||
|
||
- name: Check if upstream is set up |
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.
well, I just meant to check whether you added url for upstream first in your pipeline:) does github actions provide it by default?
UPSTREAM_BRANCH="main" | ||
git fetch upstream "$UPSTREAM_BRANCH" | ||
git checkout -b sync_branch "upstream/$UPSTREAM_BRANCH" | ||
git push origin sync_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.
do you need this intermidiate branch? is it possible to make a PR directly from the upstream to atleta
branch (as you usually do with forks)?
Description and Related Issue(s)
closes #4
Proposed Changes
Added sync cron, which syncs up with upstream every midnight, whenever there is a new release