Merge pull request #14986 from issyl0/sorbet-fix-autobump-commits
This commit is contained in:
commit
be2bb817e2
9
.github/workflows/sorbet.yml
vendored
9
.github/workflows/sorbet.yml
vendored
@ -59,9 +59,12 @@ jobs:
|
||||
git commit -m "sorbet: Update RBI files." \
|
||||
-m "Autogenerated by the [sorbet](https://github.com/Homebrew/brew/blob/master/.github/workflows/sorbet.yml) workflow."
|
||||
|
||||
git add "Library/Homebrew/"
|
||||
git commit -m "sorbet: Autobump sigils via Spoom" \
|
||||
-m "Autogenerated by the [sorbet](https://github.com/Homebrew/brew/blob/master/.github/workflows/sorbet.yml) workflow."
|
||||
if ! git diff --stat --exit-code "Library/Homebrew"
|
||||
then
|
||||
git add "Library/Homebrew/"
|
||||
git commit -m "sorbet: Autobump sigils via Spoom" \
|
||||
-m "Autogenerated by the [sorbet](https://github.com/Homebrew/brew/blob/master/.github/workflows/sorbet.yml) workflow."
|
||||
fi
|
||||
|
||||
echo "committed=true" >> $GITHUB_OUTPUT
|
||||
PULL_REQUEST_STATE="$(gh pr view --json=state | jq -r ".state")"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user