firstsun-dev_git-files-sync/.github/workflows/ci.yml
ClaudiaFang 70171fd5d7
refactor: fix quality gate issues, improve type safety and pagination (#21)
* refactor: fix quality gate issues, improve type safety and pagination

* refactor: integrate eslint-plugin-sonarjs and fix cognitive complexity issues

* fix(ci): remove invalid secrets reference in workflow with block

* fix(build): resolve strict null check errors in diff logic

---------

Co-authored-by: ClaudiaFang <tianyao.firstsun@gmail.coim>
2026-04-27 02:16:26 +08:00

22 lines
498 B
YAML

name: CI/CD
permissions:
contents: write
issues: write
pull-requests: write
on:
push:
branches: [main, master, '**']
pull_request:
types: [opened, synchronize, reopened]
jobs:
CI:
uses: firstsun-dev/general-workflows/.github/workflows/obsidian-plugin-ci.yml@main
with:
plugin-id: "git-file-sync"
skip-sonar: ${{ vars.ENABLE_CI_SONAR != 'true' }}
secrets:
RELEASE_TOKEN: ${{ secrets.RELEASE_TOKEN }}
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}