ci: ensure uncommitted changes are cleaned up before creating a branch (#61387)

This ensures that all uncommitted changes are cleaned up before creating a new branch.

PR Close #61387
This commit is contained in:
Alan Agius 2025-05-16 06:13:09 +00:00 committed by Jessica Janiuk
parent 2699dd6555
commit cd9b1b7b72

View file

@ -54,7 +54,9 @@ jobs:
# Angular CLI
- name: Create Branch
run: git checkout -b tmp-cli-docs-update ${{ github.ref }}
run: |
git reset --hard HEAD
git checkout -b tmp-cli-docs-update ${{ github.ref }}
- name: Generate CLI help
run: node adev/scripts/update-cli-help/index.mjs
env: