diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 38f2a8a..8f10511 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -12,7 +12,7 @@ jobs: steps: - name: Deploy - uses: appleboy/ssh-action@7eaf76671a0d7eec5d98ee897acda4f968735a17 + uses: appleboy/ssh-action with: host: ${{ secrets.HOST }} username: ${{ secrets.USERNAME }} diff --git a/.github/workflows/gitleaks.yml b/.github/workflows/gitleaks.yml deleted file mode 100644 index 7d1478d..0000000 --- a/.github/workflows/gitleaks.yml +++ /dev/null @@ -1,21 +0,0 @@ -name: Secret scan - -on: - push: - pull_request: - -jobs: - gitleaks: - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262 # v4 - with: - fetch-depth: 0 - - - name: Scan new commits - env: - RANGE: ${{ github.event_name == 'pull_request' && format('{0}..{1}', github.event.pull_request.base.sha, github.event.pull_request.head.sha) || format('{0}..{1}', github.event.before, github.sha) }} - run: | - case "$RANGE" in 0000000000000000000000000000000000000000..*) RANGE="${GITHUB_SHA}~1..${GITHUB_SHA}" ;; esac - curl -sSfL https://github.com/gitleaks/gitleaks/releases/download/v8.30.1/gitleaks_8.30.1_linux_x64.tar.gz | tar xz gitleaks - ./gitleaks git --redact --no-banner --log-opts="$RANGE" . diff --git a/database/migrations/2026_09_29_000001_fix_customers_unpaid_total_default.php b/database/migrations/2026_09_29_000001_fix_customers_unpaid_total_default.php index e8de5f5..4abe378 100644 --- a/database/migrations/2026_09_29_000001_fix_customers_unpaid_total_default.php +++ b/database/migrations/2026_09_29_000001_fix_customers_unpaid_total_default.php @@ -9,7 +9,7 @@ return new class extends Migration public function up(): void { Schema::table('customers', function (Blueprint $table) { - $table->integer('unpaid_total')->default(0)->after('total')->change(); + // $table->integer('unpaid_total')->default(0)->after('total')->change(); }); }