diff --git a/.github/workflows/codeql.yaml b/.github/workflows/codeql.yaml index 4a23647801..8170e2f783 100644 --- a/.github/workflows/codeql.yaml +++ b/.github/workflows/codeql.yaml @@ -9,16 +9,15 @@ # the `language` matrix defined below to confirm you have the correct set of # supported CodeQL languages. # -name: "CodeQL" +name: CodeQL -on: - push: - branches: [ "v3" ] - pull_request: - # The branches below must be a subset of the branches above - branches: [ "v3" ] - schedule: - - cron: '37 9 * * 5' +on: [push, pull_request] + +concurrency: + # Cancel a currently running workflow from the same PR, branch or tag when a + # new workflow is triggered. + group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} + cancel-in-progress: true jobs: analyze: @@ -37,7 +36,7 @@ jobs: # Learn more about CodeQL language support at https://aka.ms/codeql-docs/language-support env: - MEDIASOUP_SKIP_WORKER_PREBUILT_DOWNLOAD: "true" + MEDIASOUP_SKIP_WORKER_PREBUILT_DOWNLOAD: 'true' steps: - name: Checkout repository @@ -77,4 +76,4 @@ jobs: - name: Perform CodeQL Analysis uses: github/codeql-action/analyze@v2 with: - category: "/language:${{matrix.language}}" + category: '/language:${{matrix.language}}' diff --git a/.github/workflows/mediasoup-worker-prebuild.yaml b/.github/workflows/mediasoup-worker-prebuild.yaml index 99010871fd..141e31343a 100644 --- a/.github/workflows/mediasoup-worker-prebuild.yaml +++ b/.github/workflows/mediasoup-worker-prebuild.yaml @@ -4,7 +4,7 @@ on: push: # Only trigger for production releases. tags: - - "*.*.*" + - '*.*.*' # Only trigger when other workflows succeeded. workflow_run: @@ -15,7 +15,6 @@ on: jobs: ci: strategy: - fail-fast: false matrix: build: # For Linux let's use an old version of Ubuntu (20.04) that builds the @@ -39,7 +38,7 @@ jobs: env: CC: ${{ matrix.build.cc }} CXX: ${{ matrix.build.cxx }} - MEDIASOUP_SKIP_WORKER_PREBUILT_DOWNLOAD: "true" + MEDIASOUP_SKIP_WORKER_PREBUILT_DOWNLOAD: 'true' steps: - name: Checkout diff --git a/.github/workflows/mediasoup-worker.yaml b/.github/workflows/mediasoup-worker.yaml index 4ade2574c5..ffa8b70160 100644 --- a/.github/workflows/mediasoup-worker.yaml +++ b/.github/workflows/mediasoup-worker.yaml @@ -11,7 +11,6 @@ concurrency: jobs: ci: strategy: - fail-fast: false matrix: build: - os: ubuntu-20.04 diff --git a/.github/workflows/pull-request-stats.yml b/.github/workflows/pull-request-stats.yml deleted file mode 100644 index af1e612f02..0000000000 --- a/.github/workflows/pull-request-stats.yml +++ /dev/null @@ -1,18 +0,0 @@ -name: Pull Request Stats - -on: - # Run it every Monday at 1PM UTC. - schedule: - - cron: "0 13 * * 1" - -jobs: - stats: - runs-on: ubuntu-latest - steps: - - name: Run pull request stats - uses: flowwer-dev/pull-request-stats@master - with: - period: 365 - charts: true - disable-links: false - sort-by: 'REVIEWS'