Skip to content
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

Fix: Allow creating releases without having git changes (2) #753

Merged
merged 1 commit into from
Apr 28, 2023

Conversation

bjoernricks
Copy link
Contributor

What

Allow creating releases without having git changes part 2

Why

Also only try to create a new git commit if there are actual changes like project version file updates after a release. This avoids failing releases even when the GitHub release has been created and pushed already.

References

https://github.com/greenbone/actions/actions/runs/4828176908/jobs/8601688904

Checklist

  • Tests

Also only try to create a new git commit if there are actual changes
like project version file updates after a release. This avoids failing
releases even when the GitHub release has been created and pushed
already.
@bjoernricks bjoernricks requested a review from a team as a code owner April 28, 2023 08:20
@bjoernricks bjoernricks enabled auto-merge (rebase) April 28, 2023 08:20
@codecov
Copy link

codecov bot commented Apr 28, 2023

Codecov Report

Merging #753 (94fd7ec) into main (8fa8880) will increase coverage by 0.00%.
The diff coverage is 100.00%.

@@           Coverage Diff           @@
##             main     #753   +/-   ##
=======================================
  Coverage   89.73%   89.74%           
=======================================
  Files          81       81           
  Lines        5272     5275    +3     
  Branches      741      742    +1     
=======================================
+ Hits         4731     4734    +3     
  Misses        381      381           
  Partials      160      160           
Impacted Files Coverage Δ
pontos/release/release.py 96.62% <100.00%> (+0.06%) ⬆️

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

@bjoernricks bjoernricks merged commit 226d49b into main Apr 28, 2023
@bjoernricks bjoernricks deleted the release-without-git-changes branch April 28, 2023 08:27
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