From bb30762f4aba1f811eb68447e93e36bec3e4cd74 Mon Sep 17 00:00:00 2001 From: Tulio Leao Date: Wed, 9 Sep 2020 13:03:45 -0300 Subject: [PATCH] Restrict lint-commit to pull requests (#12892) --- .github/workflows/ci.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 6455c74ee1..0c54c6ab8d 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -8,6 +8,7 @@ env: jobs: lint-commit: name: Lint Commit Message + if: github.event_name == 'pull_request' runs-on: ubuntu-latest env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}