mirror of
https://github.com/angular/angular.git
synced 2026-09-14 13:54:52 +08: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:
committed by
Jessica Janiuk
parent
2699dd6555
commit
cd9b1b7b72
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user