From 5d8fbd4bf6e59188da80b556cf35dca51fd507c6 Mon Sep 17 00:00:00 2001 From: user Date: Thu, 5 Feb 2026 12:06:31 +0100 Subject: [PATCH] ci: Use github.token for authenticated checkout --- .gitea/workflows/lint.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.gitea/workflows/lint.yml b/.gitea/workflows/lint.yml index f44c3fd..9ac7c1a 100644 --- a/.gitea/workflows/lint.yml +++ b/.gitea/workflows/lint.yml @@ -14,7 +14,7 @@ jobs: - name: Checkout run: | git clone --depth=1 --branch=${{ github.ref_name }} \ - ${{ github.server_url }}/${{ github.repository }}.git . + https://oauth2:${{ github.token }}@git.mymx.me/${{ github.repository }}.git . - name: Install cppcheck run: | @@ -37,7 +37,7 @@ jobs: - name: Checkout run: | git clone --depth=1 --branch=${{ github.ref_name }} \ - ${{ github.server_url }}/${{ github.repository }}.git . + https://oauth2:${{ github.token }}@git.mymx.me/${{ github.repository }}.git . - name: Install flawfinder run: | @@ -55,7 +55,7 @@ jobs: - name: Checkout run: | git clone --branch=${{ github.ref_name }} \ - ${{ github.server_url }}/${{ github.repository }}.git . + https://oauth2:${{ github.token }}@git.mymx.me/${{ github.repository }}.git . - name: Install gitleaks run: | @@ -74,7 +74,7 @@ jobs: - name: Checkout run: | git clone --depth=1 --branch=${{ github.ref_name }} \ - ${{ github.server_url }}/${{ github.repository }}.git . + https://oauth2:${{ github.token }}@git.mymx.me/${{ github.repository }}.git . - name: Install shellcheck run: |