mirror of
https://github.com/aljazceru/breez-lnd.git
synced 2026-01-31 12:14:32 +01:00
build: add new GH actions to require release note updates
In this commit, we add a simple bash script to parse out the current PR number from an environment variable in the GH actions context, and use that to check to see if the PR has been referenced in the release notes or not. This isn't 100% fool proof, but it should catch most of the common cases.
This commit is contained in:
13
.github/workflows/main.yml
vendored
13
.github/workflows/main.yml
vendored
@@ -258,3 +258,16 @@ jobs:
|
||||
|
||||
- name: ensure dependences at correct version
|
||||
run: if ! grep -q "${{ matrix.pinned_dep }}" go.mod; then echo dependency ${{ matrix.pinned_dep }} should not be altered ; exit 1 ; fi
|
||||
|
||||
########################
|
||||
# check PR updates release notes
|
||||
########################
|
||||
milestone-check:
|
||||
name: check release notes updated
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: git checkout
|
||||
uses: actions/checkout@v2
|
||||
|
||||
- name: release notes check
|
||||
run: scripts/check-release-notes.sh
|
||||
|
||||
Reference in New Issue
Block a user