Skip to content

Commit 5872f80

Browse files
committed
Reset master branch
1 parent 2ffc8d9 commit 5872f80

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

.github/workflows/winget-update.yaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,12 @@ jobs:
3434
token: ${{ secrets.GH_TOKEN }}
3535
ref: master
3636

37+
- name: Reset master branch
38+
run: |
39+
git remote add upstream https://github.com/microsoft/winget-pkgs.git
40+
git fetch upstream
41+
git reset --hard upstream/master
42+
3743
- name: Checkout updates branch
3844
uses: actions/checkout@v4
3945
with:

0 commit comments

Comments
 (0)