RequiredMappingStrategy should still warn for Enum values not present #607
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: pr-validation | |
on: | |
pull_request: | |
types: | |
- opened | |
- synchronize | |
- labeled | |
- unlabeled | |
concurrency: | |
group: "${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}" | |
cancel-in-progress: true | |
jobs: | |
check-changelog-labels: | |
runs-on: ubuntu-latest | |
steps: | |
- name: PR has no changelog label | |
if: | | |
!contains(github.event.pull_request.labels.*.name, 'bug') && | |
!contains(github.event.pull_request.labels.*.name, 'enhancement') && | |
!contains(github.event.pull_request.labels.*.name, 'breaking-change') && | |
!contains(github.event.pull_request.labels.*.name, 'dependencies') && | |
!contains(github.event.pull_request.labels.*.name, 'no-changelog') && | |
!contains(github.event.pull_request.labels.*.name, 'documentation') | |
run: exit 1 | |
- name: PR has changelog label | |
run: echo "ok :)" |