github+docs: only check commits on PR action

This commit is contained in:
Elle Mouton committed 2022-11-04 11:07:19 +02:00
1 parent ae6006a84e
commit 5499ce36fa
2 files changed
+4 -1

No files matched your search

+1
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:
+3 -1
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