From 3381bee0b27019fa7060be1a30b38fcc04a6f5ac Mon Sep 17 00:00:00 2001 From: Eddie Jaoude Date: Sun, 30 Jun 2024 22:29:43 +0100 Subject: [PATCH] fix: actions to use redirect branch --- .github/workflows/docker.yml | 4 ++++ .github/workflows/release.yml | 1 + 2 files changed, 5 insertions(+) diff --git a/.github/workflows/docker.yml b/.github/workflows/docker.yml index fc41e799d8c..464b7195d86 100644 --- a/.github/workflows/docker.yml +++ b/.github/workflows/docker.yml @@ -8,6 +8,8 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 + with: + ref: redirect - name: npm install and build run: | npm ci @@ -23,6 +25,8 @@ jobs: steps: - name: check out the repo uses: actions/checkout@v4 + with: + ref: redirect - name: get-npm-version id: package-version uses: martinbeentjes/npm-get-version-action@master diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 3e7dbf39777..0483c88683a 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -18,6 +18,7 @@ jobs: # check out the repository with all releases - uses: actions/checkout@v4 with: + ref: redirect fetch-depth: 0 # Create a temporary, uniquely named branch to push release info to