Skip to content

Commit

Permalink
Update web.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
PiotrIw authored Dec 14, 2024
1 parent f142182 commit dada711
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/web.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,10 +50,13 @@ jobs:
# Configure Git user for committing changes
git config --global user.name "GitHub Actions"
git config --global user.email "[email protected]"
git fetch origin
echo "Checkout to ${{ github.event.pull_request.head.ref }} branch"
git checkout -b ${{ github.event.pull_request.head.ref }}
echo "Set ${{ github.event.pull_request.head.ref }} upstream"
git branch --set-upstream-to=origin/${{ github.event.pull_request.head.ref }} ${{ github.event.pull_request.head.ref }}
git status
git stash
git fetch origin
git pull --rebase
git stash pop
# Stage and commit the changes
Expand Down

0 comments on commit dada711

Please sign in to comment.