Skip to content

feat(cmd): add --dry-run flag and improve logging with config awareness #61

feat(cmd): add --dry-run flag and improve logging with config awareness

feat(cmd): add --dry-run flag and improve logging with config awareness #61

Workflow file for this run

name: Validate Pull Request
on:
pull_request:
types:
- opened
- reopened
- synchronize
- labeled
- unlabeled
branches:
- main
jobs:
required-labels:
name: required labels
runs-on: ubuntu-latest
timeout-minutes: 5
permissions:
pull-requests: read
steps:
- name: check
if: >-
!contains(github.event.pull_request.labels.*.name, 'breaking-change')
&& !contains(github.event.pull_request.labels.*.name, 'enhancement')
&& !contains(github.event.pull_request.labels.*.name, 'bug')
&& !contains(github.event.pull_request.labels.*.name, 'documentation')
&& !contains(github.event.pull_request.labels.*.name, 'chore')
&& !contains(github.event.pull_request.labels.*.name, 'dependencies')
&& !contains(github.event.pull_request.labels.*.name, 'ci')
run: >-
echo One of the following labels is missing on this PR:
breaking-change
enhancement
bug
documentation
chore
dependencies
ci
&& exit 1