Merge pull request #7114 from ellemouton/useCorrectBaseBranchOnPush

github: only check commits on PR events
This commit is contained in:
Oliver Gugger 2022-11-04 10:27:23 +01:00 committed by GitHub
commit 22fec76339
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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