diff --git a/.github/dependabot.yml b/.github/dependabot.yml new file mode 100644 index 0000000000..2fa7d77b21 --- /dev/null +++ b/.github/dependabot.yml @@ -0,0 +1,6 @@ +version: 2 +updates: + - package-ecosystem: "gomod" # See documentation for possible values + directory: "/" # Location of package manifests + schedule: + interval: "daily" diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml new file mode 100644 index 0000000000..f67886b5d1 --- /dev/null +++ b/.github/workflows/codeql-analysis.yml @@ -0,0 +1,37 @@ +name: "CodeQL" +on: + push: + branches: [ dev ] + pull_request: + branches: [ dev ] + schedule: + - cron: '21 23 * * 2' + +jobs: + analyze: + name: Analyze + runs-on: ubuntu-latest + permissions: + actions: read + contents: read + security-events: write + + strategy: + fail-fast: false + matrix: + language: [ 'go' ] + + steps: + - name: Checkout repository + uses: actions/checkout@5a4ac9002d0be2fb38bd78e4b4dbde5606d7042f #v2.3.4 + + # Initializes the CodeQL tools for scanning. + - name: Initialize CodeQL + uses: github/codeql-action/init@b7dd4a6f2c343e29a9ab8e181b2f540816f28bd7 # v1 + with: + languages: ${{ matrix.language }} + - name: Autobuild + uses: github/codeql-action/autobuild@b7dd4a6f2c343e29a9ab8e181b2f540816f28bd7 # v1 + + - name: Perform CodeQL Analysis + uses: github/codeql-action/analyze@b7dd4a6f2c343e29a9ab8e181b2f540816f28bd7 # v1 diff --git a/docs/release-notes/release-notes-0.14.0.md b/docs/release-notes/release-notes-0.14.0.md index 7444dbba6c..880ca67fcf 100644 --- a/docs/release-notes/release-notes-0.14.0.md +++ b/docs/release-notes/release-notes-0.14.0.md @@ -365,12 +365,16 @@ you. * [Order of the start/stop on subsystems are changed to promote better safety](https://github.com/lightningnetwork/lnd/pull/1783). + +* [Included Codeql scanning to increase the security posture](https://github.com/lightningnetwork/lnd/pull/5735) + * [Fixed flake that occurred when testing the new optimistic link shutdown.](https://github.com/lightningnetwork/lnd/pull/5808) * [Respect minimum relay fee during commitment fee updates](https://github.com/lightningnetwork/lnd/pull/5483). * [Replace reference to protobuf library with OSV](https://github.com/lightningnetwork/lnd/pull/5759) + * [Only upload itest logs on failure, fix more flakes](https://github.com/lightningnetwork/lnd/pull/5833). @@ -378,6 +382,7 @@ you. was refactored as a preparation for supporting remote signing](https://github.com/lightningnetwork/lnd/pull/5708). + ## Database * [Ensure single writer for legacy