5 Commits

Author SHA1 Message Date
6b937d6408 chore(changelog): update changelog for v0.3.5
All checks were successful
Create Major Version Tag / update-major-tag (release) Successful in 5s
2025-06-29 11:49:27 +00:00
d11131d9b2 chore(version): bump version to 0.3.5
All checks were successful
Auto Changelog & Release / release (push) Successful in 8s
2025-06-29 13:49:17 +02:00
e5f5084931 feat(action): integrate gha-timer for step timing
- Adds gha-timer to measure and log execution time for steps
- Improves visibility into step outcomes with success/failure logging
- Enhances debugging and performance analysis capability
2025-06-29 13:49:17 +02:00
5eafa06477 chore(changelog): update unreleased changelog 2025-06-29 11:42:15 +00:00
039a14a473 revert: improve CI readability with grouped git setup logs
All checks were successful
Auto Changelog & Release / release (push) Successful in 6s
This reverts commit 8a3960ad87.
2025-06-29 13:41:47 +02:00
4 changed files with 23 additions and 9 deletions

View File

@@ -2,6 +2,16 @@
All notable changes to this project will be documented in this file.
## [0.3.5](https://git.0xmax42.io/actions/auto-changelog-release-action/compare/v0.3.4..v0.3.5) - 2025-06-29
### 🚀 Features
- *(action)* Integrate gha-timer for step timing - ([e5f5084](https://git.0xmax42.io/actions/auto-changelog-release-action/commit/e5f50849316f5dc0b045ac696c3628e610bae695))
### ◀️ Revert
- Improve CI readability with grouped git setup logs - ([039a14a](https://git.0xmax42.io/actions/auto-changelog-release-action/commit/039a14a473493fd74fb61b60910652db3cfd5976))
## [0.3.4](https://git.0xmax42.io/actions/auto-changelog-release-action/compare/v0.3.2..v0.3.4) - 2025-06-29
### ⚙️ Miscellaneous Tasks

View File

@@ -1 +1 @@
0.3.4
0.3.5

View File

@@ -18,6 +18,8 @@ inputs:
runs:
using: "composite"
steps:
- uses: fulcrumgenomics/gha-timer@v1
- name: Detect version change
shell: bash
id: detect
@@ -26,7 +28,17 @@ runs:
GITHUB_SHA: ${{ github.sha || '' }}
GITHUB_REF: ${{ github.ref || '' }}
run: |
gha-timer start --name "Detect Version Change"
${{ github.action_path }}/scripts/detect-version-change.sh
exit_code=$?
if [[ $exit_code -eq 0 ]]; then
gha-timer elapsed --outcome success --name "Detect Version Change"
else
gha-timer elapsed --outcome failure --name "Detect Version Change"
exit $exit_code
fi
- name: Read CLIFF_VERSION
shell: bash

View File

@@ -1,9 +1,6 @@
#!/usr/bin/env bash
set -euo pipefail
# Open a log group for better readability in CI pipelines
echo "::group::🔧 Git Author Setup"
# Optional inputs (positionals) or fallback to environment variables
AUTHOR_NAME="${1:-${CI_COMMIT_AUTHOR_NAME:-CI Bot}}"
AUTHOR_EMAIL="${2:-${CI_COMMIT_AUTHOR_EMAIL:-ci@bot.none}}"
@@ -21,17 +18,12 @@ CONFIGURED_EMAIL=$(git config --global user.email)
if [[ "$CONFIGURED_NAME" != "$AUTHOR_NAME" ]]; then
echo "❌ Error: Git username was not set correctly!" >&2
echo "::endgroup::"
exit 1
fi
if [[ "$CONFIGURED_EMAIL" != "$AUTHOR_EMAIL" ]]; then
echo "❌ Error: Git email was not set correctly!" >&2
echo "::endgroup::"
exit 1
fi
echo "✅ Git configuration completed successfully."
# Close the log group
echo "::endgroup::"