![dependabot[bot]](/assets/img/avatar_default.png)
Bumps the all group with 6 updates in the /Library/Homebrew directory: | Package | From | To | | --- | --- | --- | | [rubocop](https://github.com/rubocop/rubocop) | `1.78.0` | `1.79.2` | | [parallel_tests](https://github.com/grosser/parallel_tests) | `5.3.1` | `5.4.0` | | [simplecov-cobertura](https://github.com/jessebs/simplecov-cobertura) | `2.1.0` | `3.0.0` | | [sorbet-static-and-runtime](https://github.com/sorbet/sorbet) | `0.5.12357` | `0.5.12389` | | [spoom](https://github.com/Shopify/spoom) | `1.7.5` | `1.7.6` | | [ruby-lsp](https://github.com/Shopify/ruby-lsp) | `0.25.0` | `0.26.1` | Updates `rubocop` from 1.78.0 to 1.79.2 - [Release notes](https://github.com/rubocop/rubocop/releases) - [Changelog](https://github.com/rubocop/rubocop/blob/master/CHANGELOG.md) - [Commits](https://github.com/rubocop/rubocop/compare/v1.78.0...v1.79.2) Updates `parallel_tests` from 5.3.1 to 5.4.0 - [Changelog](https://github.com/grosser/parallel_tests/blob/master/CHANGELOG.md) - [Commits](https://github.com/grosser/parallel_tests/compare/v5.3.1...v5.4.0) Updates `simplecov-cobertura` from 2.1.0 to 3.0.0 - [Release notes](https://github.com/jessebs/simplecov-cobertura/releases) - [Commits](https://github.com/jessebs/simplecov-cobertura/compare/v2.1.0...v3.0.0) Updates `sorbet-static-and-runtime` from 0.5.12357 to 0.5.12389 - [Release notes](https://github.com/sorbet/sorbet/releases) - [Commits](https://github.com/sorbet/sorbet/commits) Updates `spoom` from 1.7.5 to 1.7.6 - [Release notes](https://github.com/Shopify/spoom/releases) - [Commits](https://github.com/Shopify/spoom/compare/v1.7.5...v1.7.6) Updates `ruby-lsp` from 0.25.0 to 0.26.1 - [Release notes](https://github.com/Shopify/ruby-lsp/releases) - [Commits](https://github.com/Shopify/ruby-lsp/compare/v0.25.0...v0.26.1) Updates `sorbet-runtime` from 0.5.12357 to 0.5.12389 - [Release notes](https://github.com/sorbet/sorbet/releases) - [Commits](https://github.com/sorbet/sorbet/commits) Updates `json` from 2.13.0 to 2.13.2 - [Release notes](https://github.com/ruby/json/releases) - [Changelog](https://github.com/ruby/json/blob/master/CHANGES.md) - [Commits](https://github.com/ruby/json/compare/v2.13.0...v2.13.2) Updates `regexp_parser` from 2.10.0 to 2.11.2 - [Changelog](https://github.com/ammar/regexp_parser/blob/master/CHANGELOG.md) - [Commits](https://github.com/ammar/regexp_parser/compare/v2.10.0...v2.11.2) Updates `sorbet` from 0.5.12357 to 0.5.12389 - [Release notes](https://github.com/sorbet/sorbet/releases) - [Commits](https://github.com/sorbet/sorbet/commits) Updates `sorbet-static` from 0.5.12357 to 0.5.12389 - [Release notes](https://github.com/sorbet/sorbet/releases) - [Commits](https://github.com/sorbet/sorbet/commits) build(deps): bump the all group with 6 updates Bumps the all group with 6 updates: | Package | From | To | | --- | --- | --- | | [actions/checkout](https://github.com/actions/checkout) | `4.2.2` | `5.0.0` | | [actions/download-artifact](https://github.com/actions/download-artifact) | `4.3.0` | `5.0.0` | | [github/codeql-action](https://github.com/github/codeql-action) | `3.29.4` | `3.29.9` | | [actions/cache](https://github.com/actions/cache) | `4.2.3` | `4.2.4` | | [docker/login-action](https://github.com/docker/login-action) | `3.4.0` | `3.5.0` | | [actions/create-github-app-token](https://github.com/actions/create-github-app-token) | `2.0.6` | `2.1.1` | Updates `actions/checkout` from 4.2.2 to 5.0.0 - [Release notes](https://github.com/actions/checkout/releases) - [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md) - [Commits](11bd71901b...08c6903cd8
) Updates `actions/download-artifact` from 4.3.0 to 5.0.0 - [Release notes](https://github.com/actions/download-artifact/releases) - [Commits](https://github.com/actions/download-artifact/compare/v4.3.0...634f93cb2916e3fdff6788551b99b062d0335ce0) Updates `github/codeql-action` from 3.29.4 to 3.29.9 - [Release notes](https://github.com/github/codeql-action/releases) - [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md) - [Commits](https://github.com/github/codeql-action/compare/v3.29.4...df559355d593797519d70b90fc8edd5db049e7a2) Updates `actions/cache` from 4.2.3 to 4.2.4 - [Release notes](https://github.com/actions/cache/releases) - [Changelog](https://github.com/actions/cache/blob/main/RELEASES.md) - [Commits](5a3ec84eff...0400d5f644
) Updates `docker/login-action` from 3.4.0 to 3.5.0 - [Release notes](https://github.com/docker/login-action/releases) - [Commits](74a5d14239...184bdaa072
) Updates `actions/create-github-app-token` from 2.0.6 to 2.1.1 - [Release notes](https://github.com/actions/create-github-app-token/releases) - [Commits](df432ceedc...a8d6161485
) --- updated-dependencies: - dependency-name: rubocop dependency-version: 1.79.2 dependency-type: direct:development update-type: version-update:semver-minor dependency-group: all - dependency-name: parallel_tests dependency-version: 5.4.0 dependency-type: direct:development update-type: version-update:semver-minor dependency-group: all - dependency-name: simplecov-cobertura dependency-version: 3.0.0 dependency-type: direct:development update-type: version-update:semver-major dependency-group: all - dependency-name: sorbet-static-and-runtime dependency-version: 0.5.12389 dependency-type: direct:development update-type: version-update:semver-patch dependency-group: all - dependency-name: spoom dependency-version: 1.7.6 dependency-type: direct:development update-type: version-update:semver-patch dependency-group: all - dependency-name: ruby-lsp dependency-version: 0.26.1 dependency-type: direct:development update-type: version-update:semver-minor dependency-group: all - dependency-name: sorbet-runtime dependency-version: 0.5.12389 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: all - dependency-name: json dependency-version: 2.13.2 dependency-type: indirect update-type: version-update:semver-patch dependency-group: all - dependency-name: regexp_parser dependency-version: 2.11.2 dependency-type: indirect update-type: version-update:semver-minor dependency-group: all - dependency-name: sorbet dependency-version: 0.5.12389 dependency-type: indirect update-type: version-update:semver-patch dependency-group: all - dependency-name: sorbet-static dependency-version: 0.5.12389 dependency-type: indirect update-type: version-update:semver-patch dependency-group: all - dependency-name: actions/checkout dependency-version: 5.0.0 dependency-type: direct:production update-type: version-update:semver-major dependency-group: all - dependency-name: actions/download-artifact dependency-version: 5.0.0 dependency-type: direct:production update-type: version-update:semver-major dependency-group: all - dependency-name: github/codeql-action dependency-version: 3.29.9 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: all - dependency-name: actions/cache dependency-version: 4.2.4 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: all - dependency-name: docker/login-action dependency-version: 3.5.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: all - dependency-name: actions/create-github-app-token dependency-version: 2.1.1 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: all ... Signed-off-by: dependabot[bot] <support@github.com>
164 lines
6.0 KiB
YAML
164 lines
6.0 KiB
YAML
name: Update sponsors, maintainers, manpage and completions
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
- main
|
|
- master
|
|
paths:
|
|
- .github/workflows/sponsors-maintainers-man-completions.yml
|
|
- README.md
|
|
- Library/Homebrew/cmd/**
|
|
- Library/Homebrew/dev-cmd/**
|
|
- Library/Homebrew/completions/**
|
|
- Library/Homebrew/manpages/**
|
|
- Library/Homebrew/cli/parser.rb
|
|
- Library/Homebrew/completions.rb
|
|
- Library/Homebrew/env_config.rb
|
|
schedule:
|
|
- cron: "0 0 * * *"
|
|
workflow_dispatch:
|
|
|
|
permissions:
|
|
contents: read
|
|
|
|
defaults:
|
|
run:
|
|
shell: bash -xeuo pipefail {0}
|
|
|
|
jobs:
|
|
updates:
|
|
runs-on: ubuntu-latest
|
|
if: github.repository == 'Homebrew/brew'
|
|
steps:
|
|
- name: Setup Homebrew
|
|
id: set-up-homebrew
|
|
uses: Homebrew/actions/setup-homebrew@main
|
|
with:
|
|
core: false
|
|
cask: false
|
|
test-bot: false
|
|
|
|
- name: Configure Git user
|
|
uses: Homebrew/actions/git-user-config@main
|
|
with:
|
|
username: BrewTestBot
|
|
|
|
- name: Set up commit signing
|
|
uses: Homebrew/actions/setup-commit-signing@main
|
|
with:
|
|
signing_key: ${{ secrets.BREWTESTBOT_SSH_SIGNING_KEY }}
|
|
|
|
- name: Cache Bundler RubyGems
|
|
uses: actions/cache@0400d5f644dc74513175e3cd8d07132dd4860809 # v4.2.4
|
|
with:
|
|
path: ${{ steps.set-up-homebrew.outputs.gems-path }}
|
|
key: ${{ runner.os }}-rubygems-${{ steps.set-up-homebrew.outputs.gems-hash }}
|
|
restore-keys: ${{ runner.os }}-rubygems-
|
|
|
|
- name: Update sponsors, maintainers, manpage and completions
|
|
id: update
|
|
run: |
|
|
git fetch origin
|
|
|
|
if [[ -n "$GITHUB_REF_NAME" && "$GITHUB_REF_NAME" != "master" && "$GITHUB_REF_NAME" != "main" ]]
|
|
then
|
|
BRANCH="$GITHUB_REF_NAME"
|
|
else
|
|
BRANCH=sponsors-maintainers-man-completions
|
|
fi
|
|
echo "branch=${BRANCH}" >> "$GITHUB_OUTPUT"
|
|
|
|
if git ls-remote --exit-code --heads origin "${BRANCH}"
|
|
then
|
|
git checkout --force "${BRANCH}"
|
|
git checkout "README.md" \
|
|
"docs/Manpage.md" \
|
|
"manpages/brew.1" \
|
|
"completions"
|
|
else
|
|
git checkout --force --no-track -B "${BRANCH}" origin/HEAD
|
|
fi
|
|
|
|
if brew update-sponsors
|
|
then
|
|
git add "README.md"
|
|
git commit -m "Update sponsors." \
|
|
-m "Autogenerated by the [sponsors-maintainers-man-completions](https://github.com/Homebrew/brew/blob/HEAD/.github/workflows/sponsors-maintainers-man-completions.yml) workflow."
|
|
COMMITTED=true
|
|
fi
|
|
|
|
if brew update-maintainers
|
|
then
|
|
git add "README.md" \
|
|
"docs/Manpage.md" \
|
|
"manpages/brew.1"
|
|
git commit -m "Update maintainers." \
|
|
-m "Autogenerated by the [sponsors-maintainers-man-completions](https://github.com/Homebrew/brew/blob/HEAD/.github/workflows/sponsors-maintainers-man-completions.yml) workflow."
|
|
COMMITTED=true
|
|
fi
|
|
|
|
if brew generate-man-completions
|
|
then
|
|
git add "README.md" \
|
|
"docs/Manpage.md" \
|
|
"manpages/brew.1" \
|
|
"completions"
|
|
git commit -m "Update manpage and completions." \
|
|
-m "Autogenerated by the [sponsors-maintainers-man-completions](https://github.com/Homebrew/brew/blob/HEAD/.github/workflows/sponsors-maintainers-man-completions.yml) workflow."
|
|
COMMITTED=true
|
|
fi
|
|
|
|
if [[ -n "${COMMITTED-}" ]]
|
|
then
|
|
echo "committed=true" >> "$GITHUB_OUTPUT"
|
|
PULL_REQUEST_STATE="$(gh pr view --json=state | jq -r ".state" || true)"
|
|
if [[ "${PULL_REQUEST_STATE}" != "OPEN" ]]
|
|
then
|
|
echo "pull_request=true" >> "$GITHUB_OUTPUT"
|
|
fi
|
|
fi
|
|
env:
|
|
GITHUB_TOKEN: ${{ secrets.HOMEBREW_GITHUB_PUBLIC_REPO_TOKEN }}
|
|
HOMEBREW_GITHUB_API_TOKEN: ${{ secrets.HOMEBREW_BREW_UPDATE_SPONSORS_MAINTAINERS_TOKEN }}
|
|
working-directory: ${{ steps.set-up-homebrew.outputs.repository-path }}
|
|
|
|
- name: Push commits
|
|
if: steps.update.outputs.committed == 'true'
|
|
uses: Homebrew/actions/git-try-push@main
|
|
with:
|
|
token: ${{ secrets.HOMEBREW_GITHUB_PUBLIC_REPO_TOKEN }}
|
|
directory: ${{ steps.set-up-homebrew.outputs.repository-path }}
|
|
branch: ${{ steps.update.outputs.branch }}
|
|
force: true
|
|
|
|
- name: Open a pull request
|
|
if: steps.update.outputs.pull_request == 'true'
|
|
run: gh pr create --fill
|
|
env:
|
|
GITHUB_TOKEN: ${{ secrets.HOMEBREW_GITHUB_PUBLIC_REPO_TOKEN }}
|
|
working-directory: ${{ steps.set-up-homebrew.outputs.repository-path }}
|
|
|
|
issue:
|
|
needs: updates
|
|
if: always() && github.event_name == 'schedule'
|
|
runs-on: ubuntu-latest
|
|
env:
|
|
RUN_URL: ${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}
|
|
permissions:
|
|
# To create or update issues
|
|
issues: write
|
|
steps:
|
|
- name: Open, update, or close sponsors, maintainers, manpage and completions issue
|
|
uses: Homebrew/actions/create-or-update-issue@main
|
|
with:
|
|
title: Failed to update sponsors, maintainers, manpage and completions
|
|
body: >
|
|
The sponsors, maintainers, manpage and completions workflow [failed](${{ env.RUN_URL }}). No sponsors, maintainers, manpage and completions were updated.
|
|
labels: bug
|
|
update-existing: ${{ contains(needs.*.result, 'failure') || contains(needs.*.result, 'cancelled') || contains(needs.*.result, 'skipped') }}
|
|
close-existing: ${{ needs.updates.result == 'success' }}
|
|
close-from-author: github-actions[bot]
|
|
close-comment: >
|
|
The sponsors, maintainers, manpage and completions workflow [succeeded](${{ env.RUN_URL }}). Closing this issue.
|