fix bug 176: preserve YAML comments when reordering items by matching… #404
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: json-yaml-validate | |
on: | |
push: | |
branches: | |
- master | |
pull_request: | |
branches: | |
- master | |
- 2.0.X | |
workflow_dispatch: | |
permissions: | |
contents: read | |
pull-requests: write # enable write permissions for pull request comments | |
jobs: | |
json-yaml-validate: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: json-yaml-validate | |
id: json-yaml-validate | |
uses: GrantBirki/[email protected] | |
with: | |
comment: "false" # enable comment mode | |
exclude_file: ".github/config/exclude.txt" # gitignore style file for exclusions |