github+docs: only check commits on PR action

This commit is contained in:
Elle Mouton
2022-11-04 11:06:15 +02:00
parent ae6006a84e
commit 5499ce36fa
2 changed files with 4 additions and 1 deletions

View File

@@ -92,6 +92,7 @@ jobs:
# check commits
########################
check-commits:
if: github.event_name == 'pull_request'
name: check commits
runs-on: ubuntu-latest
steps:

View File

@@ -204,7 +204,9 @@ certain large transactions](https://github.com/lightningnetwork/lnd/pull/7100).
* Update github actions to [check commits against the target base
branch](https://github.com/lightningnetwork/lnd/pull/7103) rather than just
using the master branch.
using the master branch. And [skip the commit
check](https://github.com/lightningnetwork/lnd/pull/7114) for all non-PR
events.
### Integration test