mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-09-01 18:27:43 +02:00
github: check commits against base branch
This commit is contained in:
8
.github/workflows/main.yml
vendored
8
.github/workflows/main.yml
vendored
@@ -116,16 +116,16 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
go-version: '${{ env.GO_VERSION }}'
|
go-version: '${{ env.GO_VERSION }}'
|
||||||
|
|
||||||
- name: fetch and rebase on master
|
- name: fetch and rebase on ${{ github.base_ref }}
|
||||||
run: |
|
run: |
|
||||||
git remote add upstream https://github.com/lightningnetwork/lnd
|
git remote add upstream https://github.com/${{ github.repository }}
|
||||||
git fetch upstream
|
git fetch upstream
|
||||||
export GIT_COMMITTER_EMAIL="lnd-ci@example.com"
|
export GIT_COMMITTER_EMAIL="lnd-ci@example.com"
|
||||||
export GIT_COMMITTER_NAME="LND CI"
|
export GIT_COMMITTER_NAME="LND CI"
|
||||||
git rebase upstream/master
|
git rebase upstream/${{ github.base_ref }}
|
||||||
|
|
||||||
- name: check commits
|
- name: check commits
|
||||||
run: scripts/check-each-commit.sh upstream/master
|
run: scripts/check-each-commit.sh upstream/${{ github.base_ref }}
|
||||||
|
|
||||||
########################
|
########################
|
||||||
# lint code
|
# lint code
|
||||||
|
@@ -195,6 +195,10 @@ certain large transactions](https://github.com/lightningnetwork/lnd/pull/7100).
|
|||||||
* [`golangci-lint` will now check new code using additional
|
* [`golangci-lint` will now check new code using additional
|
||||||
linters.](https://github.com/lightningnetwork/lnd/pull/7064)
|
linters.](https://github.com/lightningnetwork/lnd/pull/7064)
|
||||||
|
|
||||||
|
* 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.
|
||||||
|
|
||||||
### Integration test
|
### Integration test
|
||||||
|
|
||||||
The `lntest` has been
|
The `lntest` has been
|
||||||
|
Reference in New Issue
Block a user