From a4391cd0eddee1d62e4d8ded5ac31336058f1c81 Mon Sep 17 00:00:00 2001 From: David Kallesen Date: Fri, 5 Sep 2025 10:25:10 +0200 Subject: [PATCH] build: update checkout to v5 --- .github/workflows/post-integration.yml | 5 +---- .github/workflows/pre-integration.yml | 6 +++--- .github/workflows/release.yml | 2 +- 3 files changed, 5 insertions(+), 8 deletions(-) diff --git a/.github/workflows/post-integration.yml b/.github/workflows/post-integration.yml index 652fa3f5..3a73d868 100644 --- a/.github/workflows/post-integration.yml +++ b/.github/workflows/post-integration.yml @@ -17,7 +17,7 @@ jobs: runs-on: ubuntu-latest steps: - name: 🛒 Checkout repository - uses: actions/checkout@v4 + uses: actions/checkout@v5 with: fetch-depth: 0 token: ${{ secrets.PAT_WORKFLOWS }} @@ -66,9 +66,6 @@ jobs: dotnet build -c Release /p:UseSourceLink=true --no-restore dotnet sonarscanner end /d:sonar.token="${{ secrets.SONAR_TOKEN }}" - - name: Set up git authentication for push - run: git remote set-url origin https://x-access-token:${{ secrets.PAT_WORKFLOWS }}@github.com/atc-net/atc-rest-api-generator.git - - name: ⏩ Merge to stable-branch run: | git config --local user.email ${{ env.ATC_EMAIL }} diff --git a/.github/workflows/pre-integration.yml b/.github/workflows/pre-integration.yml index faeab5f6..ca356abf 100644 --- a/.github/workflows/pre-integration.yml +++ b/.github/workflows/pre-integration.yml @@ -16,7 +16,7 @@ jobs: runs-on: ${{ matrix.os }} steps: - name: 🛒 Checkout repository - uses: actions/checkout@v4 + uses: actions/checkout@v5 with: fetch-depth: 0 @@ -42,7 +42,7 @@ jobs: - dotnet-build steps: - name: 🛒 Checkout repository - uses: actions/checkout@v4 + uses: actions/checkout@v5 with: fetch-depth: 0 @@ -70,7 +70,7 @@ jobs: - dotnet-test steps: - name: 🛒 Checkout repository - uses: actions/checkout@v4 + uses: actions/checkout@v5 with: fetch-depth: 0 diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index d0b31cc5..ba333638 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -14,7 +14,7 @@ jobs: runs-on: ubuntu-latest steps: - name: 🛒 Checkout repository - uses: actions/checkout@v4 + uses: actions/checkout@v5 with: fetch-depth: 0 token: ${{ secrets.PAT_WORKFLOWS }}