From 1f3c52e4f0391f59ec704ae58e431c2da1770e8d Mon Sep 17 00:00:00 2001 From: mirnawong1 Date: Mon, 17 Jun 2024 12:37:00 +0100 Subject: [PATCH] add --- .github/workflows/vale.yml | 41 -------------------------------------- 1 file changed, 41 deletions(-) diff --git a/.github/workflows/vale.yml b/.github/workflows/vale.yml index 22ad93ab3b6..bb60d0d3ce9 100644 --- a/.github/workflows/vale.yml +++ b/.github/workflows/vale.yml @@ -25,7 +25,6 @@ jobs: version: 2.17.0 files: all reporter: github-pr-check - filter_mode: nofilter - name: Install jq run: sudo apt-get install -y jq @@ -51,43 +50,3 @@ jobs: echo "Vale outputs:" ls -l - - name: Simulate Vale changes - run: | - mkdir -p simulated_changes - for file in $(echo ${{ steps.changed-files.outputs.files }} | jq -r '.[]'); do - cp "$file" "simulated_changes/$(basename "$file")" - vale --output=edit "simulated_changes/$(basename "$file")" - done - - - name: Upload Vale results - uses: actions/upload-artifact@v3 - with: - name: vale-results - path: '*.json' - - - name: Upload simulated changes - uses: actions/upload-artifact@v3 - with: - name: simulated-changes - path: simulated_changes - - suggest: - runs-on: ubuntu-latest - needs: vale # This ensures the suggest job runs after the vale job - - steps: - - name: Checkout code - uses: actions/checkout@v3 - - - name: Download simulated changes - uses: actions/download-artifact@v3 - with: - name: simulated-changes - - - name: List downloaded files - run: ls -l simulated_changes - - - name: Suggest changes - uses: parkerbxyz/suggest-changes@v1 - with: - comment: 'Please commit the suggested changes from Vale.'