diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 590fc15ae1d95d2fe63649d8fd7c57bddfb7f8cb..986de41fbd61a6a29e950542b2ba3c739a398aa5 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -8,6 +8,7 @@ on: jobs: check-commit: runs-on: ubuntu-latest + if: ${{ github.event.pull_request }} steps: - uses: actions/checkout@v2.3.1 with: @@ -18,6 +19,7 @@ jobs: check-format: runs-on: ubuntu-latest + if: ${{ github.event.pull_request }} steps: - uses: actions/checkout@v2.3.1 with: