diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index accc4ca2f..798225c1b 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -97,7 +97,7 @@ jobs: skip: ./.git,package-lock.json,ackee-blockchain-solady-report.pdf,EIP712Mock.sol gas-diff: - if: contains(github.event.pull_request.changed_files, '*.sol') # Run only if .sol files are changed + if: github.event_name == 'pull_request' permissions: write-all runs-on: ${{ matrix.os }} strategy: