From e40264ce7064bb9a00432233d7aafebcdc63bad3 Mon Sep 17 00:00:00 2001 From: Tapasvi Patel Date: Thu, 11 Jul 2024 17:07:28 +0000 Subject: [PATCH] #129: Add build depth tags and options --- .github/workflows/build.yml | 2 ++ .github/workflows/pages.yml | 4 ++++ 2 files changed, 6 insertions(+) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 005573342f..fb9f2faedc 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -28,6 +28,8 @@ jobs: steps: - uses: actions/checkout@v4 + with: + fetch-depth: 0 # Fetch all history and tags - name: mkdir /opt/ttmlir-toolchain shell: bash diff --git a/.github/workflows/pages.yml b/.github/workflows/pages.yml index 76f33c889f..5f5ca17a06 100644 --- a/.github/workflows/pages.yml +++ b/.github/workflows/pages.yml @@ -3,6 +3,8 @@ name: docs on: push: branches: ["main"] + pull_request: + branches: [ "main" ] workflow_dispatch: @@ -23,6 +25,8 @@ jobs: MDBOOK_VERSION: 0.4.36 steps: - uses: actions/checkout@v4 + with: + fetch-depth: 0 # Fetch all history and tags - name: mkdir /opt/ttmlir-toolchain shell: bash run: |