mirror of
https://github.com/Xevion/linkpulse.git
synced 2025-12-06 03:15:35 -06:00
Fix core.error parameter format, update CHANGELOG.md
This is really annoying, the docs state nothing about the parameter format; maybe it should be implied, but there are zero examples showing the combined message/AnnotationProperty interface with 2 parameters.
This commit is contained in:
6
.github/workflows/checklist.yaml
vendored
6
.github/workflows/checklist.yaml
vendored
@@ -24,7 +24,8 @@ jobs:
|
||||
return;
|
||||
|
||||
if (line.toLowerCase().includes('unreleased')) {
|
||||
core.error({
|
||||
const message = 'Unreleased section found. Please release the changes before merging.';
|
||||
core.error(message, {
|
||||
title: 'Unreleased Section Found',
|
||||
file: path,
|
||||
startline: index,
|
||||
@@ -35,7 +36,8 @@ jobs:
|
||||
// Expected format: '## [X.Y.Z] - YYYY-MM-DD'
|
||||
const pattern = /^\d+\.\d+\.\d+ - \d{4}-\d{2}-\d{2}$/;
|
||||
if (pattern.test(line)) {
|
||||
core.error({
|
||||
const message = 'Invalid version/date format. Expected: "## [X.Y.Z] - YYYY-MM-DD"';
|
||||
core.error(message, {
|
||||
title: 'Invalid Version/Date Format',
|
||||
file: path,
|
||||
startline: index,
|
||||
|
||||
@@ -11,6 +11,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
||||
|
||||
- A release checklist to the `CHANGELOG.md` file, as a reminder for procedure.
|
||||
- An action workflow for invoking `pytest`
|
||||
- Pytest coverage report generation in the CI/CD pipeline
|
||||
- backend: `pwdlib[argon2]` for password hashing
|
||||
- backend: provided `LOG_JSON_FORMAT` and `LOG_LEVEL` environment variable defaults in `run.sh` development script
|
||||
- backend: `User` model, `Session` model with migration script
|
||||
|
||||
Reference in New Issue
Block a user