diff --git a/.github/workflows/deploy-dev.yml b/.github/workflows/deploy-dev.yml index f99b1b6f..04ff7791 100644 --- a/.github/workflows/deploy-dev.yml +++ b/.github/workflows/deploy-dev.yml @@ -19,9 +19,10 @@ jobs: OPENGRAPH_IMAGE_URL: ${{ secrets.OPENGRAPH_IMAGE_URL }} steps: - name: Checkout the repository - uses: actions/checkout@v3 + uses: actions/checkout@v5 with: ref: 'dev' + fetch-depth: 0 - name: Use NodeJS v20.15.0 uses: actions/setup-node@v3 with: diff --git a/.github/workflows/deploy-prod.yml b/.github/workflows/deploy-prod.yml index 25125c6f..d71c7f64 100644 --- a/.github/workflows/deploy-prod.yml +++ b/.github/workflows/deploy-prod.yml @@ -19,9 +19,10 @@ jobs: OPENGRAPH_IMAGE_URL: ${{ secrets.OPENGRAPH_IMAGE_URL }} steps: - name: Checkout the repository - uses: actions/checkout@v3 + uses: actions/checkout@v5 with: ref: ${{ github.event.release.tag_name }} + fetch-depth: 0 - name: Use NodeJS v20.15.0 uses: actions/setup-node@v3 with: @@ -82,7 +83,7 @@ jobs: password: ${{ secrets.DOCKERHUB_TOKEN }} - name: Checkout the repository - uses: actions/checkout@v3 + uses: actions/checkout@v5 with: ref: ${{ github.event.release.tag_name }} diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 291c1a4b..343a7d64 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -12,7 +12,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout the repository - uses: actions/checkout@v3 + uses: actions/checkout@v5 - name: Use NodeJS v20.15.0 uses: actions/setup-node@v3 with: diff --git a/.github/workflows/pull-images.yml b/.github/workflows/pull-images.yml index 52d13d31..42cf9741 100644 --- a/.github/workflows/pull-images.yml +++ b/.github/workflows/pull-images.yml @@ -12,7 +12,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout the repository - uses: actions/checkout@v3 + uses: actions/checkout@v5 - name: Fetch and check out latest tag run: |