diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 45a4b4b3673..b3ac26c6710 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -8,13 +8,13 @@ jobs: check: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v4 + - uses: meta-introspector/checkout@v4 - - uses: pnpm/action-setup@v3 + - uses: meta-introspector/action-setup@v3 with: version: 9.4.0 - - uses: actions/setup-node@v4 + - uses: meta-introspector/setup-node@v4 with: node-version: "23" cache: "pnpm" @@ -39,7 +39,7 @@ jobs: - name: Build packages run: pnpm run build - - name: Upload coverage reports to Codecov - uses: codecov/codecov-action@v5 - with: - token: ${{ secrets.CODECOV_TOKEN }} +# - name: Upload coverage reports to Codecov +# uses: meta-introspector/codecov-action@v5 +# with: +# token: ${{ secrets.CODECOV_TOKEN }} diff --git a/.github/workflows/codeql.yml b/.github/workflows/codeql.yml index 82729ab3f8e..2ee508d02e9 100644 --- a/.github/workflows/codeql.yml +++ b/.github/workflows/codeql.yml @@ -31,10 +31,10 @@ jobs: build-mode: none steps: - name: Checkout repository - uses: actions/checkout@v4 + uses: meta-introspector/checkout@v4 - name: Initialize CodeQL - uses: github/codeql-action/init@v3 + uses: meta-introspector/codeql-action/init@v3 with: languages: ${{ matrix.language }} build-mode: ${{ matrix.build-mode }} @@ -50,6 +50,6 @@ jobs: exit 1 - name: Perform CodeQL Analysis - uses: github/codeql-action/analyze@v3 + uses: meta-introspector/codeql-action/analyze@v3 with: category: "/language:${{matrix.language}}" diff --git a/.github/workflows/generate-readme-translations.yml b/.github/workflows/generate-readme-translations.yml index b1ba989d358..a2f29e5a90d 100644 --- a/.github/workflows/generate-readme-translations.yml +++ b/.github/workflows/generate-readme-translations.yml @@ -1,89 +1,89 @@ -name: Generate Readme Translations -on: - push: - branches: - - "1222--README-ci-auto-translation" +# name: Generate Readme Translations +# on: +# push: +# branches: +# - "1222--README-ci-auto-translation" -jobs: - translation: - runs-on: ubuntu-latest - strategy: - matrix: - language: - [ - { code: "CN", name: "Chinese" }, - { code: "DE", name: "German" }, - { code: "ES", name: "Spanish" }, - { code: "FR", name: "French" }, - { code: "HE", name: "Hebrew" }, - { code: "IT", name: "Italian" }, - { code: "JA", name: "Japanese" }, - { code: "KOR", name: "Korean" }, - { code: "PTBR", name: "Portuguese (Brazil)" }, - { code: "RU", name: "Russian" }, - { code: "TH", name: "Thai" }, - { code: "TR", name: "Turkish" }, - { code: "VI", name: "Vietnamese" }, - ] - permissions: - contents: write - steps: - - uses: actions/checkout@v4 - with: - ref: main - token: ${{ secrets.GH_TOKEN }} +# jobs: +# translation: +# runs-on: ubuntu-latest +# strategy: +# matrix: +# language: +# [ +# { code: "CN", name: "Chinese" }, +# { code: "DE", name: "German" }, +# { code: "ES", name: "Spanish" }, +# { code: "FR", name: "French" }, +# { code: "HE", name: "Hebrew" }, +# { code: "IT", name: "Italian" }, +# { code: "JA", name: "Japanese" }, +# { code: "KOR", name: "Korean" }, +# { code: "PTBR", name: "Portuguese (Brazil)" }, +# { code: "RU", name: "Russian" }, +# { code: "TH", name: "Thai" }, +# { code: "TR", name: "Turkish" }, +# { code: "VI", name: "Vietnamese" }, +# ] +# permissions: +# contents: write +# steps: +# - uses: meta-introspector/checkout@v4 +# with: +# ref: main +# token: ${{ secrets.GH_TOKEN }} - - name: Translate to ${{ matrix.language.name }} - uses: 0xjord4n/aixion@v1.2.1 - id: aixion - with: - config: > - { - "provider": "openai", - "provider_options": { - "api_key": "${{ secrets.OPENAI_API_KEY }}" - }, - "messages": [ - { - "role": "system", - "content": "You will be provided with a markdown file in English, and your task is to translate it into ${{ matrix.language.name }}." - }, - { - "role": "user", - "content_path": "README.md" - } - ], - "save_path": "README_${{ matrix.language.code }}.md", - "model": "gpt-4o" - } +# - name: Translate to ${{ matrix.language.name }} +# uses: 0xjord4n/aixion@v1.2.1 +# id: aixion +# with: +# config: > +# { +# "provider": "openai", +# "provider_options": { +# "api_key": "${{ secrets.OPENAI_API_KEY }}" +# }, +# "messages": [ +# { +# "role": "system", +# "content": "You will be provided with a markdown file in English, and your task is to translate it into ${{ matrix.language.name }}." +# }, +# { +# "role": "user", +# "content_path": "README.md" +# } +# ], +# "save_path": "README_${{ matrix.language.code }}.md", +# "model": "gpt-4o" +# } - # Upload each translated file as an artifact - - name: Upload translation - uses: actions/upload-artifact@v4 - with: - name: readme-${{ matrix.language.code }} - path: README_${{ matrix.language.code }}.md +# # Upload each translated file as an artifact +# - name: Upload translation +# uses: meta-introspector/upload-artifact@v4 +# with: +# name: readme-${{ matrix.language.code }} +# path: README_${{ matrix.language.code }}.md - commit: - needs: translation - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v4 - with: - ref: main - token: ${{ secrets.GH_TOKEN }} +# commit: +# needs: translation +# runs-on: ubuntu-latest +# steps: +# - uses: meta-introspector/checkout@v4 +# with: +# ref: main +# token: ${{ secrets.GH_TOKEN }} - # Download all translation artifacts - - name: Download all translations - uses: actions/download-artifact@v4 - with: - pattern: readme-* - merge-multiple: true +# # Download all translation artifacts +# - name: Download all translations +# uses: meta-introspector/download-artifact@v4 +# with: +# pattern: readme-* +# merge-multiple: true - - name: Commit all translations - uses: stefanzweifel/git-auto-commit-action@v5 - with: - commit_message: "chore: update all README translations" - branch: main - file_pattern: "README_*.md" - commit_author: "GitHub Action " +# - name: Commit all translations +# uses: stefanzweifel/git-auto-commit-action@v5 +# with: +# commit_message: "chore: update all README translations" +# branch: main +# file_pattern: "README_*.md" +# commit_author: "GitHub Action " diff --git a/.github/workflows/jsdoc-automation.yml b/.github/workflows/jsdoc-automation.yml index 619a29593ae..1b53e63614f 100644 --- a/.github/workflows/jsdoc-automation.yml +++ b/.github/workflows/jsdoc-automation.yml @@ -48,17 +48,17 @@ jobs: steps: - name: Checkout repository - uses: actions/checkout@v4 + uses: meta-introspector/checkout@v4 with: fetch-depth: 0 - name: Setup Node.js - uses: actions/setup-node@v4 + uses: meta-introspector/setup-node@v4 with: node-version: "20" - name: Install pnpm - uses: pnpm/action-setup@v2 + uses: meta-introspector/action-setup@v2 with: version: 8 run_install: false diff --git a/.github/workflows/pre-release.yml b/.github/workflows/pre-release.yml index e228b9d071e..3baa2769181 100644 --- a/.github/workflows/pre-release.yml +++ b/.github/workflows/pre-release.yml @@ -12,11 +12,11 @@ jobs: release: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v4 + - uses: meta-introspector/checkout@v4 with: fetch-depth: 0 - - uses: actions/setup-node@v4 + - uses: meta-introspector/setup-node@v4 with: node-version: 22 @@ -64,7 +64,7 @@ jobs: fi - name: Create GitHub Release - uses: actions/create-release@v1 + uses: meta-introspector/create-release@v1 env: GITHUB_TOKEN: ${{ secrets.GH_TOKEN }} PNPM_HOME: /home/runner/setup-pnpm/node_modules/.bin diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index d640179b54c..ac489ff17b7 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -9,15 +9,15 @@ jobs: release: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v4 + - uses: meta-introspector/checkout@v4 with: fetch-depth: 0 - - uses: actions/setup-node@v4 + - uses: meta-introspector/setup-node@v4 with: node-version: 23.3.0 - - uses: pnpm/action-setup@v3 + - uses: meta-introspector/action-setup@v3 with: version: 9.15.0 diff --git a/.github/workflows/stale.yml b/.github/workflows/stale.yml index 62810fe3d87..f5d5b6855b0 100644 --- a/.github/workflows/stale.yml +++ b/.github/workflows/stale.yml @@ -16,7 +16,7 @@ jobs: DAYS_BEFORE_CLOSE: 7 # Define the days-before-close value steps: - - uses: actions/stale@v5 + - uses: meta-introspector/stale@v5 with: repo-token: ${{ secrets.GITHUB_TOKEN }} stale-issue-message: |