From 5305c35b79cdf3644508249aa19748368c01fe4b Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Wed, 25 Mar 2026 04:25:08 +0000 Subject: [PATCH 1/3] Initial plan From e4b317205fbcbfb92e43de8ddf471b8040d6b598 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Wed, 25 Mar 2026 04:33:16 +0000 Subject: [PATCH 2/3] Update GitHub Actions to use Node.js 24-compatible versions Co-authored-by: goiri <3159513+goiri@users.noreply.github.com> Agent-Logs-Url: https://github.com/Azure/realtimevideogen/sessions/2597918e-56ce-4697-a85d-76c99b3596c9 --- .github/workflows/ci.yml | 18 +++++++++--------- .github/workflows/docker.yml | 8 ++++---- .github/workflows/lint.yml | 4 ++-- 3 files changed, 15 insertions(+), 15 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index dbaa3c2e..024f566c 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -24,16 +24,16 @@ jobs: timeout-minutes: 30 steps: - - uses: actions/checkout@v6 + - uses: actions/checkout@v7 - name: Use Python 3.12 - uses: actions/setup-python@v6 + uses: actions/setup-python@v7 with: python-version: '3.12' cache: 'pip' - name: Install Node.js - uses: actions/setup-node@v5 + uses: actions/setup-node@v6 with: node-version: '10.x' @@ -79,7 +79,7 @@ jobs: - name: Upload mypy results if: always() - uses: actions/upload-artifact@v6 + uses: actions/upload-artifact@v7 with: name: mypy-results path: mypy-results.txt @@ -300,14 +300,14 @@ jobs: - name: Upload XML coverage report if: always() - uses: actions/upload-artifact@v6 + uses: actions/upload-artifact@v7 with: name: xml-coverage-report path: coverage.xml - name: Upload HTML coverage report if: always() - uses: actions/upload-artifact@v6 + uses: actions/upload-artifact@v7 with: name: html-coverage-report path: htmlcov/ @@ -366,7 +366,7 @@ jobs: if: always() steps: - - uses: actions/checkout@v6 + - uses: actions/checkout@v7 - name: Install cloc run: | @@ -385,7 +385,7 @@ jobs: run: cat cloc-report.txt - name: Upload cloc report (text) - uses: actions/upload-artifact@v6 + uses: actions/upload-artifact@v7 with: name: cloc-text path: cloc-report.txt @@ -402,7 +402,7 @@ jobs: run: cat cloc-summary.md - name: Upload cloc report (Markdown) - uses: actions/upload-artifact@v6 + uses: actions/upload-artifact@v7 with: name: cloc-markdown path: cloc-summary.md diff --git a/.github/workflows/docker.yml b/.github/workflows/docker.yml index 769366f0..fbf94698 100644 --- a/.github/workflows/docker.yml +++ b/.github/workflows/docker.yml @@ -30,7 +30,7 @@ jobs: timeout-minutes: 90 steps: - - uses: actions/checkout@v6 + - uses: actions/checkout@v7 - name: Free disk space run: | @@ -74,7 +74,7 @@ jobs: timeout-minutes: 90 steps: - - uses: actions/checkout@v6 + - uses: actions/checkout@v7 - name: Free disk space run: | @@ -221,7 +221,7 @@ jobs: - streamshort steps: - - uses: actions/checkout@v6 + - uses: actions/checkout@v7 - name: Free disk space run: | @@ -293,7 +293,7 @@ jobs: timeout-minutes: 90 steps: - - uses: actions/checkout@v6 + - uses: actions/checkout@v7 - name: Free disk space run: | diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index f136bfb0..ac184553 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -21,10 +21,10 @@ jobs: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v6 + - uses: actions/checkout@v7 - name: Use Python 3.12 - uses: actions/setup-python@v6 + uses: actions/setup-python@v7 with: python-version: '3.12' cache: 'pip' From 126aa786a11cb564c1ea7c2f24e05eaae2e4d580 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Wed, 25 Mar 2026 04:47:02 +0000 Subject: [PATCH 3/3] Fix: revert non-existent action versions; add CodeQL workflow with Node.js 24 actions Co-authored-by: goiri <3159513+goiri@users.noreply.github.com> Agent-Logs-Url: https://github.com/Azure/realtimevideogen/sessions/07ef543a-5a82-432d-8b6c-49a0da35f68d --- .github/workflows/ci.yml | 6 ++--- .github/workflows/codeql.yml | 47 ++++++++++++++++++++++++++++++++++++ .github/workflows/docker.yml | 8 +++--- .github/workflows/lint.yml | 4 +-- 4 files changed, 56 insertions(+), 9 deletions(-) create mode 100644 .github/workflows/codeql.yml diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 024f566c..af87e25c 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -24,10 +24,10 @@ jobs: timeout-minutes: 30 steps: - - uses: actions/checkout@v7 + - uses: actions/checkout@v6 - name: Use Python 3.12 - uses: actions/setup-python@v7 + uses: actions/setup-python@v6 with: python-version: '3.12' cache: 'pip' @@ -366,7 +366,7 @@ jobs: if: always() steps: - - uses: actions/checkout@v7 + - uses: actions/checkout@v6 - name: Install cloc run: | diff --git a/.github/workflows/codeql.yml b/.github/workflows/codeql.yml new file mode 100644 index 00000000..5d0ee21e --- /dev/null +++ b/.github/workflows/codeql.yml @@ -0,0 +1,47 @@ +name: CodeQL + +on: + push: + branches: [main] + pull_request: + branches: ['*'] + schedule: + - cron: '0 5 * * 1' # Weekly on Monday at 05:00 UTC + +concurrency: + group: ${{ github.workflow }}-${{ github.ref }} + cancel-in-progress: true + +permissions: + contents: read + security-events: write + actions: read + +jobs: + analyze: + name: Analyze (${{ matrix.language }}) + runs-on: ubuntu-latest + timeout-minutes: 30 + + strategy: + fail-fast: false + matrix: + language: + - python + - actions + + steps: + - uses: actions/checkout@v6 + + - name: Initialize CodeQL + uses: github/codeql-action/init@v4 + with: + languages: ${{ matrix.language }} + + - name: Autobuild + uses: github/codeql-action/autobuild@v4 + + - name: Perform CodeQL Analysis + uses: github/codeql-action/analyze@v4 + with: + category: '/language:${{ matrix.language }}' diff --git a/.github/workflows/docker.yml b/.github/workflows/docker.yml index fbf94698..769366f0 100644 --- a/.github/workflows/docker.yml +++ b/.github/workflows/docker.yml @@ -30,7 +30,7 @@ jobs: timeout-minutes: 90 steps: - - uses: actions/checkout@v7 + - uses: actions/checkout@v6 - name: Free disk space run: | @@ -74,7 +74,7 @@ jobs: timeout-minutes: 90 steps: - - uses: actions/checkout@v7 + - uses: actions/checkout@v6 - name: Free disk space run: | @@ -221,7 +221,7 @@ jobs: - streamshort steps: - - uses: actions/checkout@v7 + - uses: actions/checkout@v6 - name: Free disk space run: | @@ -293,7 +293,7 @@ jobs: timeout-minutes: 90 steps: - - uses: actions/checkout@v7 + - uses: actions/checkout@v6 - name: Free disk space run: | diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index ac184553..f136bfb0 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -21,10 +21,10 @@ jobs: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v7 + - uses: actions/checkout@v6 - name: Use Python 3.12 - uses: actions/setup-python@v7 + uses: actions/setup-python@v6 with: python-version: '3.12' cache: 'pip'