Skip to content

Commit

Permalink
v++ and change git add and only on master
Browse files Browse the repository at this point in the history
  • Loading branch information
yelouarti committed Oct 12, 2024
1 parent 8c05fcb commit 32d7676
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 4 deletions.
10 changes: 7 additions & 3 deletions .github/workflows/jacoco-badge.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,11 @@ name: Generate JaCoCo Coverage Badge
on:
push:
branches:
- '**'
- master
pull_request:
branches:
- master

permissions:
contents: write

Expand Down Expand Up @@ -31,7 +35,7 @@ jobs:
badges-directory: .github/badges
generate-coverage-badge: true
coverage-badge-filename: jacoco.svg
generate-branches-badge: true
generate-branches-badge: false
branches-badge-filename: branches.svg
generate-coverage-endpoint: false
coverage-endpoint-filename: jacoco.json
Expand All @@ -55,7 +59,7 @@ jobs:
run: |
git config --local user.name "github-actions[bot]"
git config --local user.email "github-actions[bot]@users.noreply.github.com"
git add .
git add .github/badges/*
git commit -m "Update JaCoCo coverage badge [ci skip]" || echo "No changes to commit"
git push
env:
Expand Down
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,12 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [0.9.0]

### Added

* Added code coverage badge

## [0.8.0]

### Added
Expand Down
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
group=de.kamillionlabs
name=hateoflux
version=0.8.0
version=0.9.0

0 comments on commit 32d7676

Please sign in to comment.