mirror of
https://github.com/morluto/rea.git
synced 2026-11-24 21:28:41 +00:00
* chore(deps): bump actions/setup-node from 4.4.0 to 7.1.0 Bumps [actions/setup-node](https://github.com/actions/setup-node) from 4.4.0 to 7.1.0. - [Release notes](https://github.com/actions/setup-node/releases) - [Commits](https://github.com/actions/setup-node/compare/v4.4.0...949feb2413d6458794dcd2491c4babbbce0c15c1) --- updated-dependencies: - dependency-name: actions/setup-node dependency-version: 7.1.0 dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com> * ci: record affected-test predictions above the live cutoff (#14300) * ci: compare frozen selections with observed test failures (#14301) * chore(deps): bump markdownify from 1.2.3 to 1.2.4 in /website (#14227) Bumps [markdownify](https://github.com/matthewwithanm/python-markdownify) from 1.2.3 to 1.2.4. - [Release notes](https://github.com/matthewwithanm/python-markdownify/releases) - [Commits](https://github.com/matthewwithanm/python-markdownify/compare/1.2.3...1.2.4) --- updated-dependencies: - dependency-name: markdownify dependency-version: 1.2.4 dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * chore(deps): bump rcssmin from 1.2.2 to 1.3.0 in /website (#14229) Bumps [rcssmin](https://github.com/ndparker/rcssmin) from 1.2.2 to 1.3.0. - [Changelog](https://github.com/ndparker/rcssmin/blob/master/CHANGES) - [Commits](https://github.com/ndparker/rcssmin/compare/1.2.2...1.3.0) --- updated-dependencies: - dependency-name: rcssmin dependency-version: 1.3.0 dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * fix(ci): retry recorded crash dependency acquisition without stale index cache (#14076) Co-authored-by: ShuaixinHuang <ShuaixinHuang@users.noreply.github.com> * ci: publish the portable build cache only for selected consumers (#14307) * ci: run the verified actionlint release binary (#14309) * chore(deps): bump pyyaml from 6.0.3 to 6.0.4 in /website (#14228) Bumps [pyyaml](https://github.com/yaml/pyyaml) from 6.0.3 to 6.0.4. - [Release notes](https://github.com/yaml/pyyaml/releases) - [Changelog](https://github.com/yaml/pyyaml/blob/6.0.4/CHANGES) - [Commits](https://github.com/yaml/pyyaml/compare/6.0.3...6.0.4) --- updated-dependencies: - dependency-name: pyyaml dependency-version: 6.0.4 dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * test(ci): narrow workflow steps at the cache policy boundary --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Vincent Koc <vincentkoc@ieee.org> Co-authored-by: ShuaixinHuang <1836656514@qq.com> Co-authored-by: ShuaixinHuang <ShuaixinHuang@users.noreply.github.com>
117 lines
3.6 KiB
YAML
117 lines
3.6 KiB
YAML
name: CodeQL production
|
|
|
|
on:
|
|
push:
|
|
branches: [main]
|
|
paths-ignore:
|
|
- "tests/**"
|
|
- "scripts/fixtures/**"
|
|
- "**/*.test.*"
|
|
- "**/*.fixture.*"
|
|
- "**/test_*.py"
|
|
- "**/*_test.py"
|
|
- "**/*.md"
|
|
- "**/*.mermaid"
|
|
- "**/*.csv"
|
|
- "licenses/**"
|
|
- ".git-blame-ignore-revs"
|
|
pull_request:
|
|
branches: [main]
|
|
paths-ignore:
|
|
- "tests/**"
|
|
- "scripts/fixtures/**"
|
|
- "**/*.test.*"
|
|
- "**/*.fixture.*"
|
|
- "**/test_*.py"
|
|
- "**/*_test.py"
|
|
- "**/*.md"
|
|
- "**/*.mermaid"
|
|
- "**/*.csv"
|
|
- "licenses/**"
|
|
- ".git-blame-ignore-revs"
|
|
schedule:
|
|
- cron: "37 5 * * 1"
|
|
workflow_dispatch:
|
|
|
|
permissions:
|
|
contents: read
|
|
|
|
concurrency:
|
|
group: codeql-production-${{ github.event.pull_request.number || github.ref }}
|
|
# Let a main-branch baseline finish; supersede stale pull-request scans only.
|
|
cancel-in-progress: ${{ github.event_name == 'pull_request' }}
|
|
|
|
jobs:
|
|
scope:
|
|
# A repository administrator must disable default setup before enabling
|
|
# this workflow; default setup rejects advanced CodeQL result uploads.
|
|
if: vars.REA_CODEQL_ADVANCED == 'true'
|
|
name: Select production languages
|
|
runs-on: ubuntu-24.04
|
|
timeout-minutes: 5
|
|
outputs:
|
|
run: ${{ steps.scope.outputs.run }}
|
|
languages: ${{ steps.scope.outputs.languages }}
|
|
steps:
|
|
- uses: actions/checkout@d23441a48e516b6c34aea4fa41551a30e30af803 # v6.1.0
|
|
with:
|
|
fetch-depth: ${{ github.event_name == 'pull_request' && 0 || 1 }}
|
|
filter: blob:none
|
|
sparse-checkout: |
|
|
.nvmrc
|
|
scripts/ci
|
|
sparse-checkout-cone-mode: false
|
|
persist-credentials: false
|
|
- uses: actions/setup-node@949feb2413d6458794dcd2491c4babbbce0c15c1 # v7.1.0
|
|
with:
|
|
package-manager-cache: false
|
|
node-version-file: .nvmrc
|
|
- name: Select CodeQL languages
|
|
id: scope
|
|
env:
|
|
BASE_SHA: ${{ github.event.pull_request.base.sha }}
|
|
HEAD_SHA: ${{ github.event.pull_request.head.sha || github.sha }}
|
|
run: node scripts/ci/codeql-scope.mjs >> "$GITHUB_OUTPUT"
|
|
|
|
analyze:
|
|
needs: scope
|
|
if: vars.REA_CODEQL_ADVANCED == 'true' && needs.scope.outputs.run == 'true'
|
|
name: Analyze production (${{ matrix.language }})
|
|
runs-on: ubuntu-latest
|
|
timeout-minutes: 45
|
|
permissions:
|
|
contents: read
|
|
security-events: write
|
|
strategy:
|
|
fail-fast: false
|
|
max-parallel: 1
|
|
matrix:
|
|
language: ${{ fromJSON(needs.scope.outputs.languages) }}
|
|
steps:
|
|
- uses: actions/checkout@d23441a48e516b6c34aea4fa41551a30e30af803 # v6.1.0
|
|
with:
|
|
persist-credentials: false
|
|
- name: Initialize production analysis
|
|
uses: github/codeql-action/init@9b3254085494b55a0f7c4c2b3d2d52cc712ce370 # v4
|
|
with:
|
|
languages: ${{ matrix.language }}
|
|
build-mode: none
|
|
config-file: .github/codeql/production.yml
|
|
threads: 2
|
|
ram: 4096
|
|
- name: Analyze production code
|
|
uses: github/codeql-action/analyze@9b3254085494b55a0f7c4c2b3d2d52cc712ce370 # v4
|
|
with:
|
|
category: /language:${{ matrix.language }}
|
|
output: ${{ runner.temp }}/codeql-production-results
|
|
threads: 2
|
|
ram: 4096
|
|
- name: Retain complete analysis evidence
|
|
if: always() && !cancelled()
|
|
uses: actions/upload-artifact@cf430e030ddbb5b0abf93d22962f4752f3646cd9 # v7.0.2
|
|
with:
|
|
name: codeql-production-${{ matrix.language }}
|
|
path: ${{ runner.temp }}/codeql-production-results
|
|
if-no-files-found: error
|
|
retention-days: 7
|