Skip to content

Commit

Permalink
fix(ci): autostash for pre-push hook in build workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
Thomgrus committed Dec 14, 2021
1 parent bd7f2bb commit 3a5c4c4
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 3 deletions.
1 change: 1 addition & 0 deletions .github/cr-candidate-config.yaml
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
release-notes-file: charts/candidate/CHANGELOG.md
release-name-template: "{{ .Name }}-v{{ .Version }}"
1 change: 1 addition & 0 deletions .github/cr-stable-config.yaml
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
release-notes-file: charts/stable/CHANGELOG.md
release-name-template: "{{ .Name }}-v{{ .Version }}"
2 changes: 1 addition & 1 deletion .github/workflows/build-api.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ jobs:
run: |
cat << EOF > .git/hooks/pre-push
#!/bin/bash
git pull --rebase
git pull --rebase --autostash
EOF
chmod +x .git/hooks/pre-push
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/build-web-ui.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ jobs:
run: |
cat << EOF > .git/hooks/pre-push
#!/bin/bash
git pull --rebase
git pull --rebase --autostash
EOF
chmod +x .git/hooks/pre-push
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/charts-release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ jobs:
run: |
cat << EOF > .git/hooks/pre-push
#!/bin/bash
git pull --rebase
git pull --rebase --autostash
EOF
chmod +x .git/hooks/pre-push
- name: Semantic Release
Expand Down

0 comments on commit 3a5c4c4

Please sign in to comment.