Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
4,982 changes: 0 additions & 4,982 deletions .cache/formula_metadata.json

This file was deleted.

29 changes: 0 additions & 29 deletions .editorconfig

This file was deleted.

12 changes: 1 addition & 11 deletions .github/renovate.json5
Original file line number Diff line number Diff line change
Expand Up @@ -6,25 +6,15 @@
':configMigration',
':pinDevDependencies',
],
commitMessagePrefix: 'chore(deps):',
commitMessageSuffix: ' in {{packageFile}}',
automerge: true,
automergeType: 'pr',
automergeStrategy: 'squash',
automergeStrategy: 'rebase',
baseBranchPatterns: [
'main',
],
platformAutomerge: true,
labels: [
'CI-syntax-only',
'dependencies',
'renovate',
],
// Renovate's Homebrew manager currently only matches Formula/**. Ignore
// formulae to avoid duplicating autobump-formula.yml, but leave Casks/**
// visible in case Renovate adds native cask support later.
ignorePaths: [
'Formula/**',
],
vulnerabilityAlerts: {
enabled: true,
Expand Down
95 changes: 0 additions & 95 deletions .github/scripts/environment.js

This file was deleted.

25 changes: 9 additions & 16 deletions .github/scripts/update-list.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,25 +2,18 @@

# 1. Get only the short formula names (strip chenrui333/tap/).
FORMULAE="$(
brew tap-info chenrui333/tap --json |
jq -r '.[0].formula_names[]' |
sed 's|^chenrui333/tap/||'
brew tap-info chenrui333/tap --json \
| jq -r '.[0].formula_names[]' \
| sed 's|^chenrui333/tap/||'
)"

# 2. Build the lines we want to insert, including bullet points
FORMATTED_FORMULAE="$(
echo "$FORMULAE" | awk '
$0 == "debugg-ai-mcp" { printf("- `%s` <!-- spellchecker:disable-line -->\n", $0); next }
{ printf("- `%s`\n", $0) }
'
)"

cat <<EOF >.tmp-formulae-list
cat <<EOF > .tmp-formulae-list
<!-- FORMULAE-LIST-START -->
<details>
<summary>Formula List</summary>

${FORMATTED_FORMULAE}
$(echo "$FORMULAE" | sed 's/^/- `/; s/$/`/')

</details>
<!-- FORMULAE-LIST-END -->
Expand All @@ -35,8 +28,8 @@ sed -i.bak '/<!-- FORMULAE-LIST-START -->/,/<!-- FORMULAE-LIST-END -->/ {
rm -f README.md.bak .tmp-formulae-list

if ! git diff --exit-code README.md; then
git config user.name "github-actions"
git config user.email "actions@github.com"
git add README.md
git commit -m "Update formulae list"
git config user.name "github-actions"
git config user.email "actions@github.com"
git add README.md
git commit -m "Update formulae list"
fi
50 changes: 0 additions & 50 deletions .github/workflows/autobump-cask.yml

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ on:
branches:
- main
paths:
- .github/workflows/autobump-formula.yml
- .github/workflows/autobump.yml
workflow_dispatch:
inputs:
formulae:
Expand All @@ -23,18 +23,19 @@ jobs:
steps:
- name: Set up Homebrew
id: set-up-homebrew
uses: Homebrew/actions/setup-homebrew@fc695c54c2032716dd4cedd007489c8e32fc8a5d
uses: Homebrew/actions/setup-homebrew@5248cb50fb1ac9ad0b0d0acda8500e192bca25fb
with:
core: false
cask: false
test-bot: false

- name: Configure Git user
uses: Homebrew/actions/git-user-config@fc695c54c2032716dd4cedd007489c8e32fc8a5d
uses: Homebrew/actions/git-user-config@5248cb50fb1ac9ad0b0d0acda8500e192bca25fb
with:
username: BrewTestBot

# - name: Set up commit signing
# uses: Homebrew/actions/setup-commit-signing@b2da65092292aade9599608fc29415389641b3cb
# uses: Homebrew/actions/setup-commit-signing@master
# with:
# signing_key: ${{ secrets.BREWTESTBOT_GPG_SIGNING_SUBKEY }}

Expand All @@ -46,10 +47,9 @@ jobs:
echo "autobump_list=$autobump_list" >> "$GITHUB_OUTPUT"

- name: Bump formulae
uses: Homebrew/actions/bump-packages@fc695c54c2032716dd4cedd007489c8e32fc8a5d
uses: Homebrew/actions/bump-packages@5248cb50fb1ac9ad0b0d0acda8500e192bca25fb
continue-on-error: true
with:
token: ${{ secrets.HOMEBREW_GITHUB_API_TOKEN }}
formulae: ${{ github.event.inputs.formulae || steps.autobump.outputs.autobump_list }}
tap: chenrui333/tap
fork: false
Loading
Loading