From 93f3e7dca4609700c2fc3e6f7e35cbb6b9b4913d Mon Sep 17 00:00:00 2001 From: Sergey Kambalin Date: Tue, 21 Jan 2025 20:42:12 +0600 Subject: [PATCH] Do not validate removed files --- .github/workflows/validate-pr.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/validate-pr.yml b/.github/workflows/validate-pr.yml index ed7c81d..352ca2f 100644 --- a/.github/workflows/validate-pr.yml +++ b/.github/workflows/validate-pr.yml @@ -17,6 +17,8 @@ jobs: - name: Detect changed files uses: yumemi-inc/changed-files@v3 id: changes + with: + exclude-statuses: 'removed' - name: Checkout repository uses: actions/checkout@v4 @@ -25,6 +27,7 @@ jobs: repository: ${{ github.event.pull_request.head.repo.full_name }} - name: Validate + if: steps.changes.outputs.exists == 'true' uses: symbioticfi/metadata-validation-scripts@main with: files: ${{ steps.changes.outputs.files }}