From 4b304c74bc8f95d555a4f03bd8d14c4992f9a9e8 Mon Sep 17 00:00:00 2001 From: Manuel <30572287+manuel-rw@users.noreply.github.com> Date: Sat, 1 Jun 2024 22:47:10 +0200 Subject: [PATCH] ci: fix fetch depth (#599) --- .github/workflows/deployment-weekly-release.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/deployment-weekly-release.yml b/.github/workflows/deployment-weekly-release.yml index 3c6bcb515..ba084cb7a 100644 --- a/.github/workflows/deployment-weekly-release.yml +++ b/.github/workflows/deployment-weekly-release.yml @@ -21,6 +21,8 @@ jobs: args: "Automatic release has been triggered: [run ${{ github.run_number }}](${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }})" - name: Checkout repository uses: actions/checkout@v2 + with: + fetch-depth: 0 - name: Get Next Version id: semver uses: ietf-tools/semver-action@v1 @@ -28,6 +30,7 @@ jobs: token: ${{ github.token }} branch: dev - name: Create pull request + if: startsWith(github.ref, 'refs/heads/feature') uses: devops-infra/action-pull-request@v0.5.5 id: create-pull-request with: