From 3aa1fe0034a46a588807f643c08eab2a52d962d0 Mon Sep 17 00:00:00 2001 From: Abdullah Atta Date: Tue, 30 Jul 2024 09:55:53 +0500 Subject: [PATCH] ci: only validate changed files --- .github/workflows/validate-pr.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/validate-pr.yml b/.github/workflows/validate-pr.yml index 871999c..9603449 100644 --- a/.github/workflows/validate-pr.yml +++ b/.github/workflows/validate-pr.yml @@ -36,7 +36,7 @@ jobs: comment: "true" use_dot_match: "false" json_schema: ./schemas/v1.schema.json - files: ${{ steps.changed-files.outputs.theme_all_changed_and_modified_files }} + files: ${{ steps.changed-files.outputs.all_changed_files }} github_token: ${{ secrets.GITHUB_TOKEN }} - name: Run custom validations @@ -49,7 +49,7 @@ jobs: return await script({ github, context, - files: `${{ steps.changed-files.outputs.theme_all_changed_and_modified_files }}` + files: `${{ steps.changed-files.outputs.all_changed_files }}` }); - name: Create preview comment