Compare JSON schema-based settings between two tags and report results in the PR.
Example workflow:
name: Check settings
on:
pull_request:
branches:
- main
jobs:
check-settings:
uses: sublimelsp/workflows/.github/workflows/changed-settings.yaml@main
with:
repository_url: 'https://github.com/rust-lang/rust-analyzer'
configuration_file_path: 'editors/code/package.json'
# Optional
configuration_jq_query: '.contributes.configuration.properties'
version_file: 'plugin.py'
version_regexp: 'TAG = "([^"]+)"'
# Optional string used to transform the tag captured by version_regexp. This can for example add a 'v' in front of the tag. The {} is replaced with the captured tag.
version_transform: '{}'