Skip to content

Commit 637dfee

Browse files
committed
Fix: fetch entire depth of commits to avoid detached HEAD.
1 parent 58c0f41 commit 637dfee

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.github/workflows/update_api.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
name: Update API from slack-api-ref
22
on:
3+
workflow_dispatch:
34
schedule:
45
- cron: "15 23 * * *"
56
jobs:
@@ -13,6 +14,7 @@ jobs:
1314
- uses: actions/checkout@v3
1415
with:
1516
submodules: recursive
17+
fetch-depth: 0
1618
- name: Config git to rebase
1719
run: git config --global pull.rebase true
1820
- name: Set up Ruby

0 commit comments

Comments
 (0)