![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>
65 lines
1.7 KiB
YAML
65 lines
1.7 KiB
YAML
name: Sync default branches
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
- main
|
|
- master
|
|
pull_request:
|
|
paths:
|
|
- .github/workflows/sync-default-branches.yml
|
|
|
|
permissions: {}
|
|
|
|
defaults:
|
|
run:
|
|
shell: bash -xeuo pipefail {0}
|
|
|
|
concurrency:
|
|
group: "sync-default-branches-${{ github.ref }}"
|
|
cancel-in-progress: true
|
|
|
|
jobs:
|
|
sync:
|
|
runs-on: ubuntu-latest
|
|
permissions:
|
|
contents: write
|
|
steps:
|
|
- name: Configure Git user
|
|
uses: Homebrew/actions/git-user-config@main
|
|
with:
|
|
username: github-actions[bot]
|
|
|
|
- name: Determine source and target branches
|
|
id: branches
|
|
run: |
|
|
if [[ "${GITHUB_REF_NAME}" == "main" ]]; then
|
|
target="master"
|
|
source="main"
|
|
else
|
|
target="main"
|
|
source="master"
|
|
fi
|
|
echo "target=${target}" >> "$GITHUB_OUTPUT"
|
|
echo "source=${source}" >> "$GITHUB_OUTPUT"
|
|
|
|
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
|
|
with:
|
|
fetch-depth: 1
|
|
persist-credentials: true
|
|
|
|
- name: Get target SHA
|
|
id: sha
|
|
run: |
|
|
TARGET_SHA=$(git ls-remote origin "refs/heads/${SOURCE_BRANCH}" | cut -f1)
|
|
echo "target=${TARGET_SHA}" >> "$GITHUB_OUTPUT"
|
|
env:
|
|
SOURCE_BRANCH: ${{ steps.branches.outputs.source }}
|
|
|
|
- name: Push target branch
|
|
if: github.ref == 'refs/heads/main' || github.ref == 'refs/heads/master'
|
|
run: git push origin "${TARGET_SHA}:refs/heads/${TARGET_BRANCH}" --force
|
|
env:
|
|
TARGET_SHA: ${{ steps.sha.outputs.target }}
|
|
TARGET_BRANCH: ${{ steps.branches.outputs.target }}
|