1+ #
2+ # BSD 2-Clause License
3+ #
4+ # Copyright (c) 2021-2024, Hewlett Packard Enterprise
5+ # All rights reserved.
6+ #
7+ # Redistribution and use in source and binary forms, with or without
8+ # modification, are permitted provided that the following conditions are met:
9+ #
10+ # 1. Redistributions of source code must retain the above copyright notice, this
11+ # list of conditions and the following disclaimer.
12+ #
13+ # 2. Redistributions in binary form must reproduce the above copyright notice,
14+ # this list of conditions and the following disclaimer in the documentation
15+ # and/or other materials provided with the distribution.
16+ #
17+ # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
18+ # AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
19+ # IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
20+ # DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
21+ # FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
22+ # DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
23+ # SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
24+ # CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
25+ # OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
26+ # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
27+ #
28+
29+ name : enforce_changelog
30+
31+ on :
32+ pull_request :
33+ push :
34+ branches :
35+ - develop
36+
37+ jobs :
38+ changelog :
39+ name : check_changelog
40+ runs-on : ubuntu-latest
41+
42+ steps :
43+ - uses : actions/checkout@v4
44+
45+ - name : Changelog Enforcer
46+ uses : dangoslen/changelog-enforcer@v3.6.0
47+ with :
48+ changeLogPath : ' ./doc/changelog.md'
49+ missingUpdateErrorMessage : ' changelog.md has not been updated'
0 commit comments