File tree Expand file tree Collapse file tree 1 file changed +2
-21
lines changed Expand file tree Collapse file tree 1 file changed +2
-21
lines changed Original file line number Diff line number Diff line change 2020 role-to-assume : ${{ secrets.CI_AWS_ROLE_ARN }}
2121 aws-region : us-west-2
2222
23- - name : Setup kat
24- uses : awslabs/aws-kotlin-repo-tools/.github/actions/setup-kat@main
25-
26- - uses : actions/checkout@v2
27- - name : Check for new changelog entry
28- if : ${{ !contains(github.event.pull_request.labels.*.name, 'no-changelog') }}
29- run : |
30- git fetch origin ${{ github.base_ref }} --depth 1
31- if ! git diff remotes/origin/${{ github.base_ref }} --name-only | grep -P "\.changes/[0-9a-f-]+\.json"; then
32- echo "::error ::No new/updated changelog entry found in /.changes directory. Please either:"
33- echo "::error ::* Add a changelog entry (see CONTRIBUTING.md for instructions) –or–"
34- echo "::error ::* Add the 'no-changelog' label to this PR (in rare cases not warranting a changelog entry)"
35- exit 1
36- fi
37-
38- - name : Verify all changelogs
39- run : |
40- if ! kat changelog ls; then
41- echo "::error ::Changelog verification failed. Please check the format of your changelog entry."
42- exit 1
43- fi
23+ - name : Verify changelog
24+ uses : awslabs/aws-kotlin-repo-tools/.github/actions/changelog-verification@misc-validate-changelogs
You can’t perform that action at this time.
0 commit comments