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

Configure pipeline to sync with upstream #14

Draft
wants to merge 3 commits into
base: atleta
Choose a base branch
from

Conversation

Kille135
Copy link

@Kille135 Kille135 commented Apr 3, 2024

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

@Kille135 Kille135 requested a review from r8bywork April 3, 2024 11:54
@Kille135 Kille135 self-assigned this Apr 3, 2024
@ales-tsurko ales-tsurko self-requested a review April 3, 2024 12:39
@ales-tsurko ales-tsurko marked this pull request as draft April 3, 2024 12:42
@Kille135 Kille135 marked this pull request as ready for review April 3, 2024 17:55
@Kille135 Kille135 requested a review from ales-tsurko April 3, 2024 17:57
- name: Checkout code
uses: actions/checkout@v2

- name: Check if upstream is set up

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

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)?

@ales-tsurko ales-tsurko marked this pull request as draft April 8, 2024 16:39
@ales-tsurko ales-tsurko changed the title Create sync.yml Configure pipeline to sync with upstream Apr 8, 2024
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.

Sync with upstream
2 participants