Compare commits
10 Commits
Author | SHA1 | Date | |
---|---|---|---|
6b937d6408 | |||
d11131d9b2
|
|||
e5f5084931
|
|||
5eafa06477 | |||
039a14a473
|
|||
36e60c24ac | |||
525d8bfc44
|
|||
a4ff409fd8
|
|||
b6151b793d
|
|||
374f30a502
|
@@ -14,6 +14,6 @@ jobs:
|
||||
with:
|
||||
fetch-depth: 0
|
||||
- name: Release
|
||||
uses: https://git.0xmax42.io/actions/auto-changelog-release-action@v0
|
||||
uses: https://git.0xmax42.io/actions/auto-changelog-release-action@v0.3.0
|
||||
with:
|
||||
token: ${{ secrets.RELEASE_PUBLISH_TOKEN }}
|
||||
|
17
CHANGELOG.md
17
CHANGELOG.md
@@ -2,6 +2,23 @@
|
||||
|
||||
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
|
||||
|
||||
- *(workflows)* Update action to specific version - ([a4ff409](https://git.0xmax42.io/actions/auto-changelog-release-action/commit/a4ff409fd812a5ccd2291251de5cd2af9bb0e713))
|
||||
- *(scripts)* Update file permissions to executable - ([374f30a](https://git.0xmax42.io/actions/auto-changelog-release-action/commit/374f30a50206a426b8de7a0b78cde9ad4194469f))
|
||||
|
||||
## [0.3.2](https://git.0xmax42.io/actions/auto-changelog-release-action/compare/v0.3.1..v0.3.2) - 2025-06-29
|
||||
|
||||
### 🚜 Refactor
|
||||
|
12
action.yml
12
action.yml
@@ -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
|
||||
|
0
scripts/generate-unreleased-changelog.sh
Normal file → Executable file
0
scripts/generate-unreleased-changelog.sh
Normal file → Executable file
0
scripts/read-cliff-version.sh
Normal file → Executable file
0
scripts/read-cliff-version.sh
Normal file → Executable file
0
scripts/release-from-version.sh
Normal file → Executable file
0
scripts/release-from-version.sh
Normal file → Executable file
8
scripts/setup-git.sh
Normal file → Executable file
8
scripts/setup-git.sh
Normal file → Executable 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::"
|
||||
|
Reference in New Issue
Block a user