From 0371fcb22686e72d4816c18d31b5256efcdbb716 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Bl=C3=A4cker?= Date: Tue, 3 Sep 2024 09:02:33 +0700 Subject: [PATCH] disables slither action for now until configured correctly --- .github/workflows/slither.yaml | 11 ----------- .github/workflows_deactivated/slither.yaml | 16 ++++++++++++++++ 2 files changed, 16 insertions(+), 11 deletions(-) delete mode 100644 .github/workflows/slither.yaml create mode 100644 .github/workflows_deactivated/slither.yaml diff --git a/.github/workflows/slither.yaml b/.github/workflows/slither.yaml deleted file mode 100644 index f2eb82243..000000000 --- a/.github/workflows/slither.yaml +++ /dev/null @@ -1,11 +0,0 @@ -name: Slither Analysis -on: [push] -jobs: - analyze: - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v4.1.1 - - uses: crytic/slither-action@v0.3.0 - with: - node-version: 20 - continue-on-error: true diff --git a/.github/workflows_deactivated/slither.yaml b/.github/workflows_deactivated/slither.yaml new file mode 100644 index 000000000..670092168 --- /dev/null +++ b/.github/workflows_deactivated/slither.yaml @@ -0,0 +1,16 @@ +# - Run Static Analyzer Tool "Slither" +# - currently deactivated until we found time to configure it correctly + +name: Slither Analysis +on: [push] +jobs: + run-slither: + if: ${{ github.event.pull_request.draft == false }} # will only run once the PR is in "Ready for Review" state + + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4.1.1 + - uses: crytic/slither-action@v0.3.0 + with: + node-version: 20 + continue-on-error: true