You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
To automate the maintenance of this templates dependencies, it should be considered whether a "fork like“ sync method with upstream changes should be added.
It could check weekly as the dependabot checks
Something like this:
name: Update from Upstreamon:
schedule:
- cron: '0 0 * * 0'# Runs weekly at midnight UTC on Sundaysjobs:
update:
runs-on: ubuntu-lateststeps:
- name: Checkout Downstream Repositoryuses: actions/checkout@v2with:
repository: your-username/your-repotoken: ${{ secrets.GITHUB_TOKEN }}
- name: Add Upstream Repositoryrun: git remote add upstream https://github.com/upstream-username/upstream-repo.git
- name: Fetch Upstream Changesrun: git fetch upstream
- name: Create Pull Requestuses: peter-evans/create-pull-request@v3with:
token: ${{ secrets.GITHUB_TOKEN }}commit-message: Update from upstreambranch: update-from-upstreamtitle: Update from upstreambody: This PR updates the downstream repository with changes from the upstream repository.base: mainhead: upstream/main
The text was updated successfully, but these errors were encountered:
To automate the maintenance of this templates dependencies, it should be considered whether a "fork like“ sync method with upstream changes should be added.
It could check weekly as the dependabot checks
Something like this:
The text was updated successfully, but these errors were encountered: