Skip to content

Commit c4f24a9

Browse files
authored
fpm 0.11.0
2 parents 30b838f + f904d0d commit c4f24a9

File tree

2 files changed

+3
-19
lines changed

2 files changed

+3
-19
lines changed

.github/workflows/fpm-version-update.yml

-2
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
name: Auto-update fpm Formula
22

33
on:
4-
schedule:
5-
- cron: "0 0 * * *" # Runs daily at midnight UTC
64
workflow_dispatch: # Allows manual trigger
75

86
jobs:

.github/workflows/tests.yml

+3-17
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,7 @@ on:
44
branches:
55
- main
66
pull_request:
7-
workflow_dispatch: # Added to allow manual triggering from the main workflow
8-
inputs:
9-
head_sha: # Input for the PR’s head SHA
10-
description: 'Head SHA of the PR to test'
11-
required: true
7+
128
jobs:
139
test-bot:
1410
strategy:
@@ -23,15 +19,6 @@ jobs:
2319
runs-on: ${{ matrix.os }}
2420
timeout-minutes: 60 # Increased timeout for ARM builds
2521
steps:
26-
- name: Checkout PR commit
27-
uses: actions/checkout@v4
28-
with:
29-
ref: ${{ github.event.inputs.head_sha }}
30-
31-
- name: Debug head_sha
32-
run: echo "head_sha=${{ github.event.inputs.head_sha }}"
33-
34-
3522
- name: Set up Homebrew
3623
id: set-up-homebrew
3724
uses: Homebrew/actions/setup-homebrew@master
@@ -56,13 +43,12 @@ jobs:
5643
- run: brew test-bot --only-tap-syntax
5744

5845
- run: brew test-bot --only-formulae
59-
if: github.event_name == 'pull_request' || github.event_name == 'workflow_dispatch'
46+
if: github.event_name == 'pull_request'
6047
env:
6148
HOMEBREW_ARCH: ${{ matrix.arch }}
62-
GITHUB_SHA: ${{ github.event.inputs.head_sha }}
6349

6450
- name: Upload bottles as artifact
65-
if: always() && (github.event_name == 'pull_request' || github.event_name == 'workflow_dispatch')
51+
if: always() && (github.event_name == 'pull_request')
6652
uses: actions/upload-artifact@v4
6753
with:
6854
name: bottles-${{ matrix.os }}-${{ matrix.arch }}

0 commit comments

Comments
 (0)