This repository has been archived by the owner on Nov 13, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 756
Provide users with a path to automated upgrade #77
Labels
Comments
hamelsmu
added
enhancement
New feature or request
good first issue
Good for newcomers
labels
Feb 19, 2020
Yes I suspect that's the best approach.
|
I have actually built a GitHub action that does something similar on a different project. I use git-subtree to keep a folder in sync with my upstream, but probably can be easily adapted to this use case. jobs:
build-notebooks:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
ref: master
fetch-depth: 0
- name: Set git user and email
uses: srt32/git-actions@master
with:
args: git config user.email "upstreamsyncbot@example.com" && git config user.name "UpstreamSyncBot"
- name: Fetch upstream repo
uses: srt32/git-actions@master
with:
args: git subtree pull --squash --message=UpstreamSync --prefix=base-images https://github.com/upstream-github-user/upstream-repo.git master Most likely it is overkill with what's needed here |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Labels
@jph00 can you think of a nice workflow where people should upgrade? Is git merge/fix conflicts the best route, you think?
The text was updated successfully, but these errors were encountered: