mirror of
https://github.com/firstsun-dev/git-files-sync.git
synced 2026-07-22 06:54:27 +00:00
* 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>
22 lines
498 B
YAML
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 }}
|