From 5499ce36fae508da72b66e2ca874e7218c8fa810 Mon Sep 17 00:00:00 2001 From: Elle Mouton Date: Fri, 4 Nov 2022 11:06:15 +0200 Subject: [PATCH] github+docs: only check commits on PR action --- .github/workflows/main.yml | 1 + docs/release-notes/release-notes-0.16.0.md | 4 +++- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index bb334bdde..c222d9d08 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -92,6 +92,7 @@ jobs: # check commits ######################## check-commits: + if: github.event_name == 'pull_request' name: check commits runs-on: ubuntu-latest steps: diff --git a/docs/release-notes/release-notes-0.16.0.md b/docs/release-notes/release-notes-0.16.0.md index 073dcf5ef..6f5b845cb 100644 --- a/docs/release-notes/release-notes-0.16.0.md +++ b/docs/release-notes/release-notes-0.16.0.md @@ -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