Unverified 提交 76d429ac authored 作者: Iñaki Baz Castillo's avatar Iñaki Baz Castillo 提交者: GitHub

Improvements in CI files (#1281)

上级 4620783a
......@@ -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}}'
......@@ -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
......
......@@ -11,7 +11,6 @@ concurrency:
jobs:
ci:
strategy:
fail-fast: false
matrix:
build:
- os: ubuntu-20.04
......
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'
Markdown 格式
0% 或
您添加了 0 人 到此讨论。请谨慎行事。
请先完成此评论的编辑!
请 注册 或者 后发表评论