From 0a31be42369db947450b0fe33e0eb6424e6a5771 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Tue, 31 Mar 2026 08:19:20 +0000 Subject: [PATCH 1/2] Initial plan From b325047f39119ab575ef528d7222f5fb8f012797 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Tue, 31 Mar 2026 08:21:50 +0000 Subject: [PATCH 2/2] Add SonarQube workflow and project properties Agent-Logs-Url: https://github.com/axgd-code/ok_computer/sessions/8d3686b4-4c7b-442e-88be-17e4c41908a8 Co-authored-by: axgd-code <1721781+axgd-code@users.noreply.github.com> --- .github/workflows/sonarqube.yml | 23 +++++++++++++++++++++++ sonar-project.properties | 4 ++++ 2 files changed, 27 insertions(+) create mode 100644 .github/workflows/sonarqube.yml create mode 100644 sonar-project.properties diff --git a/.github/workflows/sonarqube.yml b/.github/workflows/sonarqube.yml new file mode 100644 index 0000000..2a8011f --- /dev/null +++ b/.github/workflows/sonarqube.yml @@ -0,0 +1,23 @@ +name: sonarqube + +on: + pull_request: + push: + tags: ["v*"] + +jobs: + sonarqube: + runs-on: ubuntu-latest + permissions: + contents: read + steps: + - name: Checkout + uses: actions/checkout@v4 + with: + fetch-depth: 0 + + - name: SonarQube Scan + uses: SonarSource/sonarqube-scan-action@v5 + env: + SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }} + SONAR_HOST_URL: ${{ secrets.SONAR_HOST_URL }} diff --git a/sonar-project.properties b/sonar-project.properties new file mode 100644 index 0000000..88fb643 --- /dev/null +++ b/sonar-project.properties @@ -0,0 +1,4 @@ +sonar.projectKey=axgd-code_ok_computer +sonar.projectName=ok_computer +sonar.sources=src,ui +sonar.exclusions=ui/dist/**,ui/**/__pycache__/**