From 5aec801686d769bf7581dca1bfcb1a6499784f9f Mon Sep 17 00:00:00 2001 From: Radkesvat <134321679+radkesvat@users.noreply.github.com> Date: Tue, 18 Jun 2024 18:10:58 +0000 Subject: [PATCH] update --- .github/workflows/clang_static_analyzer.yml | 17 +++++++---------- 1 file changed, 7 insertions(+), 10 deletions(-) diff --git a/.github/workflows/clang_static_analyzer.yml b/.github/workflows/clang_static_analyzer.yml index 841546a5..4b3117d9 100644 --- a/.github/workflows/clang_static_analyzer.yml +++ b/.github/workflows/clang_static_analyzer.yml @@ -1,15 +1,10 @@ name: CLang Static Analyzer on: - push: - paths-ignore: - - 'doc/**' - branches-ignore: - - 'backport**' - - 'dependabot**' - pull_request: - paths-ignore: - - 'doc/**' + push: + branches: [ "main" ] + pull_request: + branches: [ "main" ] concurrency: group: ${{ github.workflow }}-${{ github.head_ref || github.ref }} @@ -23,6 +18,8 @@ jobs: clang_static_analyzer: runs-on: ubuntu-22.04 steps: - - uses: actions/checkout@v3 + - name: Checkout + uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6 + - name: Run run: docker run --rm -v $PWD:$PWD ubuntu:22.04 sh -c "cd $PWD && apt update && DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends sudo software-properties-common && DEBIAN_FRONTEND=noninteractive sh ./ci/travis/csa_common/before_install.sh && sh ./ci/travis/csa_common/install.sh && sh ./ci/travis/csa_common/script.sh" \ No newline at end of file