Skip to content

ci(github-actions): set force to true for Homebrew bump formula #445

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Oct 9, 2021

Conversation

Lee-W
Copy link
Member

@Lee-W Lee-W commented Oct 9, 2021

Description

fix homebrew publishing error as reported #438 (comment)
this solution is suggested by our failed workflow https://github.com/commitizen-tools/commitizen/runs/3845350057?check_suite_focus=true

commitizen 2.20.0 https://github.com/Homebrew/homebrew-core/pull/86905
Duplicate PRs should not be opened. Use --force to override this error.
/usr/local/Homebrew/Library/Homebrew/utils.rb:322:in `safe_system': Failure while executing; `/usr/local/bin/brew bump-formula-pr --no-audit --no-browse --message=\[\`action-homebrew-bump-formula\`\]\(https://github.com/dawidd6/action-homebrew-bump-formula\) --version=2.20.0 --url=https://files.pythonhosted.org/packages/8f/0c/97a94ded248305222b1c5c86c0c58d81c7822e1fa705e92870e9ad643635/commitizen-2.20.0.tar.gz commitizen` exited with 1. (ErrorDuringExecution)
	from /Users/runner/work/_actions/dawidd6/action-homebrew-bump-formula/v3/main.rb:27:in `brew'
	from /Users/runner/work/_actions/dawidd6/action-homebrew-bump-formula/v3/main.rb:112:in `<module:Homebrew>'
	from /Users/runner/work/_actions/dawidd6/action-homebrew-bump-formula/v3/main.rb:18:in `<main>'

according to Homebrew bump formula, this shouldn't break anything

Checklist

  • Add test cases to all the changes you introduce
  • Run ./script/format and ./script/test locally to ensure this change passes linter check and test
  • Test the changes on the local machine manually
  • Update the documentation for the changes

Expected behavior

succeeded on homebrew publishing

Steps to Test This Pull Request

Additional context

@Lee-W Lee-W requested a review from woile October 9, 2021 07:06
This was referenced Oct 9, 2021
@codecov
Copy link

codecov bot commented Oct 9, 2021

Codecov Report

Merging #445 (71aabe8) into master (5e22040) will not change coverage.
The diff coverage is 100.00%.

Impacted file tree graph

@@           Coverage Diff           @@
##           master     #445   +/-   ##
=======================================
  Coverage   97.37%   97.37%           
=======================================
  Files          39       39           
  Lines        1409     1409           
=======================================
  Hits         1372     1372           
  Misses         37       37           
Flag Coverage Δ
unittests 97.37% <100.00%> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
commitizen/__version__.py 100.00% <100.00%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 1ea05ac...71aabe8. Read the comment docs.

@woile woile merged commit d6a1e23 into master Oct 9, 2021
@woile woile deleted the fix-homebrew-publish branch October 9, 2021 07:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants