Skip to content

Commit

Permalink
MINOR: [Docs] Fix preview docs job to use crossbow main instead of ma…
Browse files Browse the repository at this point in the history
…ster (apache#35204)

### Rationale for this change

The job is failing with:
```
Fetching the repository
  /usr/bin/git -c protocol.version=2 fetch --no-tags --prune --progress --no-recurse-submodules --depth=1 origin +refs/heads/master*:refs/remotes/origin/master* +refs/tags/master*:refs/tags/master*
  The process '/usr/bin/git' failed with exit code 1
```
See: apache#35194 (comment)

### What changes are included in this PR?

Change `master` for `main` on the job.

### Are these changes tested?

Archery test

Authored-by: Raúl Cumplido <raulcumplido@gmail.com>
Signed-off-by: Jacob Wujciak-Jens <jacob@wujciak.de>
  • Loading branch information
raulcd authored and ArgusLi committed May 15, 2023
1 parent 14b0605 commit f919393
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dev/tasks/docs/github.linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ jobs:
- name: Checkout Crossbow
uses: actions/checkout@v3
with:
ref: {{ default_branch|default("master") }}
ref: {{ default_branch|default("main") }}
path: crossbow
fetch-depth: 1
- name: Prepare docs
Expand Down

0 comments on commit f919393

Please sign in to comment.