Last active
March 3, 2022 01:40
-
-
Save Cubik65536/1e7b694511ca1943fa83b04f58c7f72c to your computer and use it in GitHub Desktop.
Scheduled Merge Remote Action
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Scheduled Merge Remote Action | |
on: | |
push: | |
branches: | |
- master | |
- main | |
schedule: | |
- cron: '0 0 * * 1' | |
# scheduled for 00:00 every Monday | |
jobs: | |
merge-upstream: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v2 | |
with: | |
ref: master # set the branch to merge to | |
fetch-depth: 0 | |
- name: Merge Upstream - master | |
uses: Cubik65536/merge-upstream@v1.1.3 | |
with: | |
upstream: org/repo # set the upstream repo | |
upstream-branch: master # set the upstream branch to merge from | |
branch: master # set the branch to merge to |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment