diff --git a/.github/workflows/olive-scanner.yml b/.github/workflows/olive-scanner.yml new file mode 100644 index 0000000..a5724c1 --- /dev/null +++ b/.github/workflows/olive-scanner.yml @@ -0,0 +1,39 @@ +name: Olive CLI Scanner + +on: + pull_request: + types: [opened, synchronize, reopened] + branches: + - main + - feature/olive-actions + workflow_dispatch: + inputs: + analyze-only: + description: "분석만 수행 (아티팩트/코멘트 생략)" + required: false + default: "false" + type: choice + options: + - "true" + - "false" + +permissions: + contents: read + issues: write + pull-requests: write + +jobs: + olive-scan: + name: Olive CLI Scan + runs-on: ubuntu-latest + + steps: + - name: Checkout Code + uses: actions/checkout@v4 + + - name: Run Olive CLI Scanner + uses: oss-kakao/olive-actions@v1 + with: + olive-token: ${{ secrets.OLIVE_TOKEN }} + github-token: ${{ secrets.GITHUB_TOKEN }} + user-config-path: "./user-config.yaml" diff --git a/user-config.yaml b/user-config.yaml new file mode 100644 index 0000000..aac293e --- /dev/null +++ b/user-config.yaml @@ -0,0 +1,6 @@ +isOpenSource: false +excludePaths: [] +analysisType: "BUILDER" +onlyDirect: false +gradleBuildVariant: "" +excludeGradle: []