diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index c3fb59c..01ce725 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -11,7 +11,8 @@ jobs: outputs: on_main: ${{ steps.contains_tag.outputs.retval }} steps: - - uses: actions/checkout@v4 + - name: Checkout + uses: actions/checkout@v4 with: fetch-depth: 0 - uses: rickstaa/action-contains-tag@v1.2.0 @@ -29,6 +30,8 @@ jobs: # --- from workflow.yml --- - name: Checkout uses: actions/checkout@v4 + with: + fetch-depth: 0 - name: Validation uses: gradle/wrapper-validation-action@v1 diff --git a/.github/workflows/workflow.yml b/.github/workflows/workflow.yml index a334538..31dbdf0 100644 --- a/.github/workflows/workflow.yml +++ b/.github/workflows/workflow.yml @@ -7,6 +7,8 @@ jobs: steps: - name: Checkout uses: actions/checkout@v4 + with: + fetch-depth: 0 - name: Validation uses: gradle/wrapper-validation-action@v1