diff --git a/.github/workflows/olive-actions.yml b/.github/workflows/olive-actions.yml new file mode 100644 index 000000000..2da1e703a --- /dev/null +++ b/.github/workflows/olive-actions.yml @@ -0,0 +1,39 @@ +name: OLIVE Actions + +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 }} + analyze-only: "true"