firstsun-dev_git-files-sync/.github/workflows/ci.yml

24 lines
526 B
YAML

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