Skip to content

Commit

Permalink
Squash commits before update PR
Browse files Browse the repository at this point in the history
  • Loading branch information
kdeldycke committed Mar 2, 2024
1 parent 84265d4 commit a63d9cf
Showing 1 changed file with 14 additions and 5 deletions.
19 changes: 14 additions & 5 deletions .github/workflows/docs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -65,15 +65,24 @@ jobs:
run: |
git diff
- name: Setup Git
- name: Setup Git user
run: |
git config --global user.name "${{ github.actor }}"
git config --global user.email "${{ github.actor }}@users.noreply.github.com"
- name: Deactivate LFS
run: |
git config lfs.https://github.com/kdeldycke/${{ github.event.repository.name }}.git/info/lfs.locksverify false
- name: Create commit
run: |
git commit --all -m 'Update URLs'
git commit --all -m 'Update template URLs with local ones'
- run: |
git config lfs.https://github.com/kdeldycke/awesome-billing.git/info/lfs.locksverify false
git push
- name: Squash commits
run: |

Check failure on line 82 in .github/workflows/docs.yaml

View workflow job for this annotation

GitHub Actions / lint / lint-github-action

shellcheck reported issue in this script: SC2046:warning:1:18: Quote this to prevent word splitting

Check failure on line 82 in .github/workflows/docs.yaml

View workflow job for this annotation

GitHub Actions / lint / lint-github-action

shellcheck reported issue in this script: SC2006:style:2:43: Use $(...) notation instead of legacy backticks `...`
git reset --soft $(git merge-base main HEAD)
git commit --message "[sync] Updates from `awesome-template` repository"
- name: Push commit to PR
run: |
git push --force

0 comments on commit a63d9cf

Please sign in to comment.