From f904d0db62a1690f508d736240a171b7b041cae7 Mon Sep 17 00:00:00 2001 From: Federico Perini Date: Mon, 10 Mar 2025 15:45:28 +0100 Subject: [PATCH] cleanup CI --- .github/workflows/fpm-version-update.yml | 2 -- .github/workflows/tests.yml | 20 +++----------------- 2 files changed, 3 insertions(+), 19 deletions(-) diff --git a/.github/workflows/fpm-version-update.yml b/.github/workflows/fpm-version-update.yml index e06f838..e810048 100644 --- a/.github/workflows/fpm-version-update.yml +++ b/.github/workflows/fpm-version-update.yml @@ -1,8 +1,6 @@ name: Auto-update fpm Formula on: - schedule: - - cron: "0 0 * * *" # Runs daily at midnight UTC workflow_dispatch: # Allows manual trigger jobs: diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 63bb7a7..1166316 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -4,11 +4,7 @@ on: branches: - main pull_request: - workflow_dispatch: # Added to allow manual triggering from the main workflow - inputs: - head_sha: # Input for the PR’s head SHA - description: 'Head SHA of the PR to test' - required: true + jobs: test-bot: strategy: @@ -23,15 +19,6 @@ jobs: runs-on: ${{ matrix.os }} timeout-minutes: 60 # Increased timeout for ARM builds steps: - - name: Checkout PR commit - uses: actions/checkout@v4 - with: - ref: ${{ github.event.inputs.head_sha }} - - - name: Debug head_sha - run: echo "head_sha=${{ github.event.inputs.head_sha }}" - - - name: Set up Homebrew id: set-up-homebrew uses: Homebrew/actions/setup-homebrew@master @@ -56,13 +43,12 @@ jobs: - run: brew test-bot --only-tap-syntax - run: brew test-bot --only-formulae - if: github.event_name == 'pull_request' || github.event_name == 'workflow_dispatch' + if: github.event_name == 'pull_request' env: HOMEBREW_ARCH: ${{ matrix.arch }} - GITHUB_SHA: ${{ github.event.inputs.head_sha }} - name: Upload bottles as artifact - if: always() && (github.event_name == 'pull_request' || github.event_name == 'workflow_dispatch') + if: always() && (github.event_name == 'pull_request') uses: actions/upload-artifact@v4 with: name: bottles-${{ matrix.os }}-${{ matrix.arch }}