Skip to content

Commit

Permalink
now it should actually get the schema from the correct place
Browse files Browse the repository at this point in the history
  • Loading branch information
TheOnlyTails committed Dec 1, 2023
1 parent d9a9dec commit 4b7daa2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/validate_toml.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
uses: actions/checkout@v3

- name: Validate translations
run: npx --yes @taplo/cli check --schema https://raw.githubusercontent.com/lipu-linku/sona/${{vars.GITHUB_SHA || 'main'}}/schemas/schema.json#translation ./translations/*.toml
run: npx --yes @taplo/cli check --schema https://raw.githubusercontent.com/lipu-linku/sona/${{github.event.ref}}/schemas/schema.json#translation ./translations/*.toml

- name: Validate words.toml
run: npx --yes @taplo/cli check --schema https://raw.githubusercontent.com/lipu-linku/sona/${{vars.GITHUB_SHA || 'main'}}/schemas/schema.json#word ./words/*.toml
run: npx --yes @taplo/cli check --schema https://raw.githubusercontent.com/lipu-linku/sona/${{github.event.ref}}/schemas/schema.json#word ./words/*.toml

0 comments on commit 4b7daa2

Please sign in to comment.