mirror of
https://github.com/angular/angular
synced 2026-05-24 09:28:37 +00:00
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:
parent
2699dd6555
commit
cd9b1b7b72
1 changed files with 3 additions and 1 deletions
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Reference in a new issue