fix(ci): replace actions/checkout with native git fetch directly to Forgejo
CI Pipeline - Quality & Build / Build & Validate Frontend (pull_request) Successful in 35s Details

This commit is contained in:
bryancito1090 2026-10-20 07:50:43 -05:00
parent 4269b4cd4e
commit 4753dd2ffa
2 changed files with 12 additions and 10 deletions

View File

@ -16,13 +16,14 @@ jobs:
validate-frontend:
name: Build & Validate Frontend
runs-on: ubuntu-latest
env:
GITHUB_SERVER_URL: https://git.bryan-bano.com
steps:
- name: Checkout Code
uses: actions/checkout@v4
env:
GITHUB_SERVER_URL: https://git.bryan-bano.com
run: |
git config --global --add safe.directory "*"
git init
git remote add origin https://git.bryan-bano.com/Bryan.bano/PORTFOLIO.git 2>/dev/null || git remote set-url origin https://git.bryan-bano.com/Bryan.bano/PORTFOLIO.git
git fetch --depth 1 origin ${{ github.sha }}
git checkout --force FETCH_HEAD
- name: Install Frontend Dependencies
run: |

View File

@ -16,13 +16,14 @@ jobs:
validate-frontend:
name: Build & Validate Frontend
runs-on: ubuntu-latest
env:
GITHUB_SERVER_URL: https://git.bryan-bano.com
steps:
- name: Checkout Code
uses: actions/checkout@v4
env:
GITHUB_SERVER_URL: https://git.bryan-bano.com
run: |
git config --global --add safe.directory "*"
git init
git remote add origin https://git.bryan-bano.com/Bryan.bano/PORTFOLIO.git 2>/dev/null || git remote set-url origin https://git.bryan-bano.com/Bryan.bano/PORTFOLIO.git
git fetch --depth 1 origin ${{ github.sha }}
git checkout --force FETCH_HEAD
- name: Install Frontend Dependencies
run: |