diff --git a/.github/workflows/solidity.yml b/.github/workflows/solidity.yml index 19d0d643a1..9e8c807f31 100644 --- a/.github/workflows/solidity.yml +++ b/.github/workflows/solidity.yml @@ -121,7 +121,7 @@ jobs: cancel_others: 'true' slither: name: Slither - if: ${{ needs.changes.outputs.package_count > 0 }} + if: ${{ needs.changes.outputs.package_count > 0 && needs.changes.outputs.packages != '["solidity-devops"]' }} # see https://docs.github.com/en/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/setting-up-code-scanning-for-a-repository runs-on: ubuntu-latest needs: changes @@ -239,7 +239,7 @@ jobs: gas-diff: runs-on: ubuntu-latest name: Foundry Gas Diff - if: ${{ needs.changes.outputs.package_count > 0 }} + if: ${{ needs.changes.outputs.package_count > 0 && needs.changes.outputs.packages != '["solidity-devops"]' }} needs: changes strategy: fail-fast: false @@ -290,7 +290,7 @@ jobs: size-check: name: Foundry Size Check runs-on: ubuntu-latest - if: ${{ needs.changes.outputs.package_count > 0 }} + if: ${{ needs.changes.outputs.package_count > 0 && needs.changes.outputs.packages != '["solidity-devops"]' }} needs: changes strategy: fail-fast: false