Skip to content
Snippets Groups Projects
Unverified Commit 85fe23ed authored by Mike McQuaid's avatar Mike McQuaid Committed by GitHub
Browse files

Merge pull request #8421 from Homebrew/spdx-tapioca-update

scheduled workflows: fix branch, add new files.
parents 19191217 235a663d
No related branches found
No related tags found
No related merge requests found
......@@ -30,7 +30,9 @@ jobs:
if brew update-license-data --fail-if-not-changed; then
if ! git ls-remote --exit-code --heads origin spdx-update; then
git checkout -B spdx-update
git commit -am "spdx: update license data." -m "Autogenerated by [a scheduled GitHub Action](https://github.com/Homebrew/brew/blob/master/.github/workflows/spdx.yml)."
git reset origin/master
git add data/spdx
git commit -m "spdx: update license data." -m "Autogenerated by [a scheduled GitHub Action](https://github.com/Homebrew/brew/blob/master/.github/workflows/spdx.yml)."
echo "::set-output name=committed::true"
fi
fi
......
......@@ -40,9 +40,11 @@ jobs:
bundle exec srb rbi hidden-definitions
git checkout -B tapioca-update
if ! git diff --exit-code -- sorbet; then
git reset origin/master
git add sorbet
if ! git --no-patch --exit-code HEAD -- sorbet; then
if ! git ls-remote --exit-code --heads origin tapioca-update; then
git commit -am "sorbet: update RBI files using Tapioca." -m "Autogenerated by [a scheduled GitHub Action](https://github.com/Homebrew/brew/blob/master/.github/workflows/tapioca.yml)."
git commit -m "sorbet: update RBI files using Tapioca." -m "Autogenerated by [a scheduled GitHub Action](https://github.com/Homebrew/brew/blob/master/.github/workflows/tapioca.yml)."
echo "::set-output name=committed::true"
fi
fi
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment