Skip to content

Commit e4a1cb5

Browse files
authored
Merge pull request #49 from Telefonica/release
Release v2.2.0
2 parents 05d628e + d91bec5 commit e4a1cb5

File tree

9 files changed

+170
-125
lines changed

9 files changed

+170
-125
lines changed

CHANGELOG.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,15 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
1111
#### Deprecated
1212
#### Removed
1313

14+
## [2.2.0] - 2025-06-10
15+
16+
### Added
17+
18+
* feat: Add `dry-run` option, enabling to process the markdown files and configuration without connecting to Confluence.
19+
20+
### Changed
21+
* chore(deps): Bump @telefonica/markdown-confluence-sync from 2.0.0 to 2.1.0 (Add dryRun option)
22+
1423
## [2.1.1] - 2025-04-08
1524

1625
### Changed

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -190,6 +190,7 @@ The action accepts a configuration file in the root of the repository, and it ca
190190
| `confluence-notice-message` | Notice message to add at the beginning of the Confluence pages | No | `<p><strong>AUTOMATION NOTICE: This page is synced automatically, changes made manually will be lost</strong></p>` |
191191
| `confluence-notice-template` | Template string to use for the notice message | No | |
192192
| `confluence-dry-run` | Dry run mode: Do not update Confluence pages. Only log pages to sync | No | `false `|
193+
| `dry-run` | Process markdown files without sending them to the `confluence-sync` library. Useful to early detection of possible errors in configuration, markdown files, etc. Note that, requests that would be made to Confluence won't be logged, use `confluence-dry-run` for that, which also connects to Confluence to calculate the requests to do | No | |
193194
| `log-level` | Log level: `silent`, `silly`, `debug`, `verbose`, `info`, `warn`, `error` | No | `info` |
194195
| `cwd` | Current working directory. Path from where resolve `docs-dir`, `files-pattern`, `ignore`, and search for the configuration file. It must be relative to the repository folder | No | Repository root (`.`) |
195196

action.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,9 @@ inputs:
6565
'Log create, update or delete requests to Confluence instead of really
6666
making them'
6767
type: boolean
68+
dry-run:
69+
description: 'Process the markdown files and configuration without connecting to Confluence'
70+
type: boolean
6871
cwd:
6972
description: 'Current working directory. Path from where the library resolve docsDir, filesPattern, and searches for configuration files'
7073
type: string

0 commit comments

Comments
 (0)