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

Improvements in CI files (#1281)

上级 4620783a
...@@ -9,16 +9,15 @@ ...@@ -9,16 +9,15 @@
# the `language` matrix defined below to confirm you have the correct set of # the `language` matrix defined below to confirm you have the correct set of
# supported CodeQL languages. # supported CodeQL languages.
# #
name: "CodeQL" name: CodeQL
on: on: [push, pull_request]
push:
branches: [ "v3" ] concurrency:
pull_request: # Cancel a currently running workflow from the same PR, branch or tag when a
# The branches below must be a subset of the branches above # new workflow is triggered.
branches: [ "v3" ] group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
schedule: cancel-in-progress: true
- cron: '37 9 * * 5'
jobs: jobs:
analyze: analyze:
...@@ -37,7 +36,7 @@ jobs: ...@@ -37,7 +36,7 @@ jobs:
# Learn more about CodeQL language support at https://aka.ms/codeql-docs/language-support # Learn more about CodeQL language support at https://aka.ms/codeql-docs/language-support
env: env:
MEDIASOUP_SKIP_WORKER_PREBUILT_DOWNLOAD: "true" MEDIASOUP_SKIP_WORKER_PREBUILT_DOWNLOAD: 'true'
steps: steps:
- name: Checkout repository - name: Checkout repository
...@@ -77,4 +76,4 @@ jobs: ...@@ -77,4 +76,4 @@ jobs:
- name: Perform CodeQL Analysis - name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v2 uses: github/codeql-action/analyze@v2
with: with:
category: "/language:${{matrix.language}}" category: '/language:${{matrix.language}}'
...@@ -4,7 +4,7 @@ on: ...@@ -4,7 +4,7 @@ on:
push: push:
# Only trigger for production releases. # Only trigger for production releases.
tags: tags:
- "*.*.*" - '*.*.*'
# Only trigger when other workflows succeeded. # Only trigger when other workflows succeeded.
workflow_run: workflow_run:
...@@ -15,7 +15,6 @@ on: ...@@ -15,7 +15,6 @@ on:
jobs: jobs:
ci: ci:
strategy: strategy:
fail-fast: false
matrix: matrix:
build: build:
# For Linux let's use an old version of Ubuntu (20.04) that builds the # For Linux let's use an old version of Ubuntu (20.04) that builds the
...@@ -39,7 +38,7 @@ jobs: ...@@ -39,7 +38,7 @@ jobs:
env: env:
CC: ${{ matrix.build.cc }} CC: ${{ matrix.build.cc }}
CXX: ${{ matrix.build.cxx }} CXX: ${{ matrix.build.cxx }}
MEDIASOUP_SKIP_WORKER_PREBUILT_DOWNLOAD: "true" MEDIASOUP_SKIP_WORKER_PREBUILT_DOWNLOAD: 'true'
steps: steps:
- name: Checkout - name: Checkout
......
...@@ -11,7 +11,6 @@ concurrency: ...@@ -11,7 +11,6 @@ concurrency:
jobs: jobs:
ci: ci:
strategy: strategy:
fail-fast: false
matrix: matrix:
build: build:
- os: ubuntu-20.04 - 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 人 到此讨论。请谨慎行事。
请先完成此评论的编辑!
请 注册 或者 后发表评论