From 4b7daa20bf08143ac3c866fdc688941e0d26d7ec Mon Sep 17 00:00:00 2001 From: theonlytails Date: Fri, 1 Dec 2023 02:24:06 +0200 Subject: [PATCH] now it should actually get the schema from the correct place --- .github/workflows/validate_toml.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/validate_toml.yml b/.github/workflows/validate_toml.yml index 82de68bfce..3c2692c7dd 100644 --- a/.github/workflows/validate_toml.yml +++ b/.github/workflows/validate_toml.yml @@ -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