diff --git a/.github/workflows/schema-check.yml b/.github/workflows/schema-check.yml index c390d9b..2d874fb 100644 --- a/.github/workflows/schema-check.yml +++ b/.github/workflows/schema-check.yml @@ -17,18 +17,15 @@ jobs: - name: echo first commit run: | echo ${{ github.event.before }} - # - name: get changed files - # id: getfile - # run: | - # echo "files=$(git diff --no-commit-id --name-only -r ${{ github.sha }} | xargs)" >> $GITHUB_OUTPUT - # elif [ ${{ github.event.before }} == '0000000000000000000000000000000000000000' ]; then - # echo "files=$(git diff-tree --no-commit-id --name-only -r ${{ github.sha }} | xargs)" >> $GITHUB_OUTPUT + - name: get changed files id: getfile run: | if [ $GITHUB_BASE_REF ]; then git fetch origin $GITHUB_BASE_REF --depth=1 echo "files=$(git diff --name-only origin/$GITHUB_BASE_REF ${{ github.sha }} | xargs)" >> $GITHUB_OUTPUT + elif [ ${{ github.event.before }} == '0000000000000000000000000000000000000000' ]; then + echo "files=$(git diff-tree --no-commit-id --name-only -r ${{ github.sha }} | xargs)" >> $GITHUB_OUTPUT else git fetch origin ${{ github.event.before }} --depth=1 echo "files=$(git diff --name-only ${{ github.event.before }} ${{ github.sha }} | xargs)" >> $GITHUB_OUTPUT diff --git a/.schema.yml b/.schema.yml index 5aa1a15..a13b8e9 100644 --- a/.schema.yml +++ b/.schema.yml @@ -51,7 +51,6 @@ properties: - asia - oceania legal_body_type: - type: object enum: - natural - juridicial diff --git a/servers/test.com.yaml b/servers/test.com.yaml index bd2236a..190da40 100644 --- a/servers/test.com.yaml +++ b/servers/test.com.yaml @@ -6,5 +6,6 @@ categories: - games languages: - latin -region: asia +- english +region: europe legal_body_type: natural