Skip to content

Commit a696996

Browse files
committed
automation - fix next snapshot action
1 parent d26ca85 commit a696996

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

.github/workflows/next-snapshot.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,12 @@ jobs:
5555
git config --global user.email "[email protected]"
5656
git config --global user.name "GitHub Action"
5757
git config --global hub.protocol https
58-
git remote set-url origin https://\${{ secrets.GITHUB_TOKEN }}:[email protected]/''' + 'swagger-api/swagger-parser' + '''.git
58+
git remote set-url origin https://\${{ secrets.GITHUB_TOKEN }}:[email protected]/swagger-api/swagger-parser.git
59+
- name: Checkout master
60+
uses: actions/checkout@v2
61+
with:
62+
ref: "master"
63+
fetch-depth: 0
5964
- name: Run next snapshot script
6065
id: postRelease
6166
if: env.RELEASE_OK == 'yes'

0 commit comments

Comments
 (0)