From 60adf6c0f8096854e2ba0fa49d0f0ea2e599641e Mon Sep 17 00:00:00 2001 From: Mindfang Date: Fri, 1 Mar 2024 14:31:18 -0600 Subject: [PATCH] Paths-Ignore seems to be working after all --- .gitea/workflows/commit.yaml | 21 --------------------- 1 file changed, 21 deletions(-) diff --git a/.gitea/workflows/commit.yaml b/.gitea/workflows/commit.yaml index b142ba4..a2a09fd 100644 --- a/.gitea/workflows/commit.yaml +++ b/.gitea/workflows/commit.yaml @@ -23,27 +23,6 @@ jobs: packages: write steps: - - name: Check changes - id: changes - run: | - # Get the list of changed files - CHANGED_FILES=$(git diff --name-only ${{ github.event.before }} ${{ github.sha }}) - - # Check if ONLY a specific file has changed - SPECIFIC_FILE=".gitea/commit.yaml" - if [ "$CHANGED_FILES" = "$SPECIFIC_FILE" ]; then - echo "Only the specific file has changed: $SPECIFIC_FILE" - echo "::set-output name=files_changed::false" - else - echo "Other files have changed, stopping the workflow" - echo "::set-output name=files_changed::true" - fi - - - name: Run on specific changes - if: steps.changes.outputs.files_changed != 'true' - run: echo "Beginning build" - #Testing change to this file - - name: Prepare the container run: curl -fsSL https://get.docker.com -o get-docker.sh && sh ./get-docker.sh