summaryrefslogtreecommitdiff
path: root/.github/workflows/doxygen.yml
diff options
context:
space:
mode:
Diffstat (limited to '.github/workflows/doxygen.yml')
-rw-r--r--.github/workflows/doxygen.yml4
1 files changed, 2 insertions, 2 deletions
diff --git a/.github/workflows/doxygen.yml b/.github/workflows/doxygen.yml
index c6b15f8f61..73937a2097 100644
--- a/.github/workflows/doxygen.yml
+++ b/.github/workflows/doxygen.yml
@@ -19,12 +19,12 @@ jobs:
# Not using official actions/checkout because it's unstable and sometimes doesn't work for a fork.
- name: Checkout ruby/ruby
- run: git clone --depth=1 https://github.com/ruby/ruby . && git reset --hard "$GITHUB_SHA"
+ run: git clone --depth=10 https://github.com/ruby/ruby . && git reset --hard "$GITHUB_SHA"
env:
GITHUB_SHA: ${{ github.sha }}
if: github.event_name == 'schedule'
- name: Checkout a pull request
- run: git clone --depth=1 "--branch=$GITHUB_BRANCH" "https://github.com/${GITHUB_REPO}" . && git reset --hard "$GITHUB_REV"
+ run: git clone --depth=10 "--branch=$GITHUB_BRANCH" "https://github.com/${GITHUB_REPO}" . && git reset --hard "$GITHUB_REV"
env:
GITHUB_REV: ${{ github.event.pull_request.head.sha }}
GITHUB_BRANCH: ${{ github.event.pull_request.head.ref }}