From 57d93e891ec537e221411a0c0d4ff10d1d733b41 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Tue, 31 Mar 2026 20:40:38 +0000 Subject: [PATCH 1/2] Initial plan From 98ec19c46f205f956ad3ce98ec587356b2cf4f44 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Tue, 31 Mar 2026 20:43:51 +0000 Subject: [PATCH 2/2] chore: add CodeQL code scanning workflow Agent-Logs-Url: https://github.com/stellar/stellar-cli/sessions/dbb9dc2a-5862-4eeb-a6d4-45e37bb32a6e Co-authored-by: sagpatil <1414227+sagpatil@users.noreply.github.com> --- .github/workflows/codeql.yml | 48 ++++++++++++++++++++++++++++++++++++ 1 file changed, 48 insertions(+) create mode 100644 .github/workflows/codeql.yml diff --git a/.github/workflows/codeql.yml b/.github/workflows/codeql.yml new file mode 100644 index 000000000..1da511058 --- /dev/null +++ b/.github/workflows/codeql.yml @@ -0,0 +1,48 @@ +name: CodeQL + +on: + push: + branches: [main, release/**] + pull_request: + branches: [main, release/**] + schedule: + - cron: "0 0 * * 1" + +jobs: + analyze: + name: Analyze (${{ matrix.language }}) + runs-on: ubuntu-latest + permissions: + security-events: write + packages: read + actions: read + contents: read + strategy: + fail-fast: false + matrix: + include: + - language: rust + build-mode: manual + steps: + - uses: actions/checkout@v6 + + - name: Initialize CodeQL + uses: github/codeql-action/init@v3 + with: + languages: ${{ matrix.language }} + build-mode: ${{ matrix.build-mode }} + + - name: Install dependencies + run: sudo apt-get update && sudo apt-get install -y libudev-dev libdbus-1-dev + + - name: Update Rust toolchain + run: rustup update + + - name: Build + run: cargo build --bin stellar + timeout-minutes: 10 + + - name: Perform CodeQL Analysis + uses: github/codeql-action/analyze@v3 + with: + category: "/language:${{ matrix.language }}"