From 2cc780e172caf2560d9a174896de1b1bc033b02f Mon Sep 17 00:00:00 2001 From: cocobo1 Date: Sun, 14 Sep 2025 11:18:13 +0300 Subject: [PATCH] fix(workflow): correct runner name --- .forgejo/workflows/build.yaml | 2 +- .forgejo/workflows/codeql.yml | 71 ----------------------------------- 2 files changed, 1 insertion(+), 72 deletions(-) delete mode 100644 .forgejo/workflows/codeql.yml diff --git a/.forgejo/workflows/build.yaml b/.forgejo/workflows/build.yaml index 8f33b8e..b60f35c 100644 --- a/.forgejo/workflows/build.yaml +++ b/.forgejo/workflows/build.yaml @@ -6,7 +6,7 @@ on: jobs: buildAndRelease: - runs-on: ubuntu-latest + runs-on: codeberg-tiny steps: - uses: actions/checkout@v3 diff --git a/.forgejo/workflows/codeql.yml b/.forgejo/workflows/codeql.yml deleted file mode 100644 index 2134829..0000000 --- a/.forgejo/workflows/codeql.yml +++ /dev/null @@ -1,71 +0,0 @@ -name: "CodeQL Advanced" - -on: - push: - branches: [ "main", "dev" ] - pull_request: - branches: [ "main" ] - schedule: - - cron: '31 8 * * 6' - -jobs: - analyze: - name: Analyze - runs-on: ubuntu-latest - permissions: - security-events: write - packages: read - actions: read - contents: read - - strategy: - fail-fast: false - matrix: - language: [ 'javascript-typescript' ] - node-version: [20.x] - - steps: - - name: Checkout repository - uses: actions/checkout@v4 - - - name: Use Node.js ${{ matrix.node-version }} - uses: actions/setup-node@v3 - with: - node-version: ${{ matrix.node-version }} - - - name: Setup pnpm - uses: pnpm/action-setup@v2 - with: - version: latest - run_install: false - - - name: Get pnpm store directory - id: pnpm-cache - shell: bash - run: | - echo "STORE_PATH=$(pnpm store path)" >> $GITHUB_OUTPUT - - - name: Setup pnpm cache - uses: actions/cache@v3 - with: - path: ${{ steps.pnpm-cache.outputs.STORE_PATH }} - key: ${{ runner.os }}-pnpm-store-${{ hashFiles('**/pnpm-lock.yaml') }} - restore-keys: | - ${{ runner.os }}-pnpm-store- - - - name: Install dependencies - run: pnpm install - - - name: Initialize CodeQL - uses: github/codeql-action/init@v3 - with: - languages: ${{ matrix.language }} - build-mode: none - - - name: Build project - run: pnpm build --release-branch=${{ github.ref_name }} --build-minify - - - name: Perform CodeQL Analysis - uses: github/codeql-action/analyze@v3 - with: - category: "/language:${{matrix.language}}"