fix: correct YAML indentation in workflow

This commit is contained in:
nocci 2026-03-07 13:19:53 +00:00
parent 40235d62a8
commit fae3ee2c24

View file

@ -36,20 +36,20 @@ jobs:
container: container:
image: node:20-alpine image: node:20-alpine
steps: steps:
- name: Manual Git Checkout and Prepare - name: Manual Git Checkout and Prepare
run: | run: |
apk add --no-cache git curl bash apk add --no-cache git curl bash
git init git init
git remote add origin ${{ env.REPO_URL }}/${{ GITEA_REPO }}.git git remote add origin ${{ env.REPO_URL }}/${{ GITEA_REPO }}.git
git fetch --depth 1 origin ${{ GITEA_REF }} git fetch --depth 1 origin ${{ GITEA_REF }}
git checkout FETCH_HEAD git checkout FETCH_HEAD
- name: Install Node.js and Sonar Scanner - name: Install Node.js and Sonar Scanner
run: | run: |
apk add --no-cache nodejs npm curl apk add --no-cache nodejs npm curl
npm install -g sonarqube-scanner npm install -g sonarqube-scanner
- name: SonarQube Scan - name: SonarQube Scan
env: env:
SONAR_HOST_URL: ${{ secrets.SONAR_HOST_URL }} SONAR_HOST_URL: ${{ secrets.SONAR_HOST_URL }}
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }} SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}