Skip to content

chore: update dev from main#13

Merged
c-vigo merged 9 commits intodevfrom
main
Mar 11, 2026
Merged

chore: update dev from main#13
c-vigo merged 9 commits intodevfrom
main

Conversation

@c-vigo
Copy link
Contributor

@c-vigo c-vigo commented Mar 11, 2026

No description provided.

c-vigo and others added 9 commits December 18, 2025 15:57
Initial release: Commit Action v0.1.0
docs: improve documentation and project templates
chore: prepare v0.1.1 release with bug fix and documentation updates
Release v0.1.2 - Build dist files
## Summary

- Added `ALLOW_EMPTY` environment variable support for creating signed empty commits when no file changes are detected
- Remediated security vulnerabilities: `minimatch` ReDoS (CVE-2026-27903), `ajv`, `undici`, and `@actions/http-client` via npm overrides
- Fixed v0.1.3 changelog link pointing to wrong tag

## Changes

### Features
- `ALLOW_EMPTY=true` support in `commitViaAPI()` — reuses parent tree SHA to create empty commits
- `ALLOW_EMPTY` flag in commit runner, preserving default no-op behavior when unset

### Security
- Pinned `minimatch@3.1.4` and `minimatch@9.0.7` via npm overrides to fix ReDoS (GHSA-7r86-cg39-jmmj)
- Updated `@actions/http-client@3.0.2` and `undici@6.23.0` overrides
- Patched `ajv` transitive vulnerability in lockfile

### Tests
- Unit tests for empty commit behavior in `commitViaAPI()` and commit-runner flow
- Jest config updated to ignore `dist/` directory

### Docs
- Updated README usage example to `v0.1.4`
- Documented `ALLOW_EMPTY` environment variable
- Updated CHANGELOG with release date (2026-03-11)

## Test plan

- [x] `npm test` passes locally
- [x] Confirm dist bundle is up to date
@c-vigo c-vigo merged commit 6bd9469 into dev Mar 11, 2026
2 checks passed
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.

1 participant