From dc96fca00d4d1674584c6ecf1fbd297b2ae80ff8 Mon Sep 17 00:00:00 2001 From: jingjidove Date: Tue, 29 Apr 2025 17:08:13 +0800 Subject: [PATCH] =?UTF-8?q?Revert=20"=E6=B7=BB=E5=8A=A0=E6=96=87=E4=BB=B6?= =?UTF-8?q?=E5=8F=98=E6=9B=B4=E6=A3=80=E6=9F=A5=E6=AD=A5=E9=AA=A4=E4=BB=A5?= =?UTF-8?q?=E5=86=B3=E5=AE=9A=E6=98=AF=E5=90=A6=E6=89=A7=E8=A1=8C=E6=9E=84?= =?UTF-8?q?=E5=BB=BA=E5=92=8C=E9=83=A8=E7=BD=B2"?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This reverts commit 670e0615452338393e225a9f2d2c3020a6659a22. --- .gitea/workflows/dev.yaml | 31 ------------------------------- 1 file changed, 31 deletions(-) diff --git a/.gitea/workflows/dev.yaml b/.gitea/workflows/dev.yaml index b3c6fdf..3a5d8a8 100644 --- a/.gitea/workflows/dev.yaml +++ b/.gitea/workflows/dev.yaml @@ -6,38 +6,7 @@ on: types: [opened,synchronize] jobs: - check-file-changes: - runs-on: ubuntu-latest - outputs: - should_run: ${{ steps.filter.outputs.should_run }} - steps: - - name: 🚚 Checkout - uses: actions/checkout@v4 - with: - fetch-depth: 0 - - - name: 📑 Check changed files - id: filter - run: | - CHANGED_FILES=$(git diff --name-only ${{ github.event.pull_request.base.sha }} ${{ github.event.pull_request.head.sha }} || git diff --name-only HEAD~1 HEAD) - - IMPORTANT_FILE_CHANGED=false - for file in $CHANGED_FILES; do - if [[ $file =~ \.(ts|yaml|json|js)$ ]]; then - IMPORTANT_FILE_CHANGED=true - break - fi - done - - if [ "$IMPORTANT_FILE_CHANGED" = true ]; then - echo "should_run=true" >> $GITHUB_OUTPUT - else - echo "should_run=false" >> $GITHUB_OUTPUT - fi - build-and-deploy: - needs: check-file-changes - if: ${{ needs.check-file-changes.outputs.should_run == 'true' || github.event_name == 'workflow_dispatch' }} runs-on: ubuntu-latest permissions: contents: read