Skip to content

sublimelsp/workflows

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

LSP Workflows

Changed Settings

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: '{}'

About

Shared GitHub workflows

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages