We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fccb414 commit e7c7983Copy full SHA for e7c7983
.github/workflows/update-master-from-upstream.yml
@@ -0,0 +1,20 @@
1
+name: Update master from upstreame
2
+on:
3
+ schedule:
4
+ - cron: '0 0 * * 0'
5
+jobs:
6
+ updateFork:
7
+ runs-on: ubuntu-latest
8
+ steps:
9
+ - uses: actions/checkout@v2
10
+ - name: Reset the default branch with upstream changes
11
+ run: |
12
+ git remote add upstream https://github.com/powershell/powershell.git
13
+ git fetch upstream master:master-upstream-local
14
+ git reset --hard master-upstream-local
15
+ - name: Create Pull Request
16
+ uses: peter-evans/create-pull-request@v3
17
+ with:
18
+ token: ${{ secrets.REPO_ACCESS_TOKEN }}
19
+ branch: upstream-changes
20
+ base: master-upstream
0 commit comments