marco-jardim/Changelog Publish to Google Docs
Appends or syncs a markdown changelog to a Google Doc using the Docs API v1 with idempotency support
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| report_path | Path to the markdown report file (e.g. executive-changelog.md from changelog-render-action) | yes | — |
| document_id | Google Doc ID extracted from the document URL (the long string between /d/ and /edit) | yes | — |
| service_account_key | Base64-encoded Google Service Account JSON key with Docs API access | yes | — |
| idempotency_key | Optional string to deduplicate entries (e.g. repo:from_sha:to_sha). If already present in the doc, the action is skipped. | no | "" |
| insights_path | Optional path to insights.v1.json for richer metadata enrichment | no | "" |
| mode | How to insert content: "append" (end of doc), "prepend" (beginning of doc), or "replace_section" (replace by header) | no | append |
| section_header | The header text to find and replace when mode is "replace_section" | no | "" |
| dry_run | If "true", log what would be written without calling the Google Docs API | no | false |
Outputs
| name | description |
|---|---|
| document_url | Full URL to the Google Doc |
| action_taken | Result of the action: "appended", "prepended", "replaced", "skipped", "dry_run", or "error" |
| idempotency_hit | "true" if the entry was skipped because the idempotency_key was already found in the document |