Skip to content

Commit 88afb2e

Browse files
authored
Update orphan.yml
1 parent 783133f commit 88afb2e

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.github/workflows/orphan.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,16 +12,16 @@ jobs:
1212
steps:
1313
- uses: actions/checkout@v4
1414
with:
15-
ref: main
16-
- name: Create new empty firmware branch
15+
ref: orphan
16+
- name: Create new empty branch
1717
run: |
1818
git config user.email "41898282+github-actions[bot]@users.noreply.github.com"
1919
git config user.name "github-actions[bot]"
2020
git switch --orphan new_branch # create empty branch
2121
git commit --allow-empty -m "Initial commit"
2222
git push -u origin new_branch # push empty branch in repo
23-
git switch firmware
23+
git switch orphan
2424
git reset --hard new_branch # reset firmware branch
25-
git push origin firmware -f
25+
git push origin orphan -f
2626
git push origin --delete new_branch # delete empty_branch
2727

0 commit comments

Comments
 (0)