Skip to content

Commit 43835e4

Browse files
authored
[bitnami/*] ci: 👷 🚑 Skip changelog inside the markdown-linter (#26167)
* [bitnami/*] ci: 👷 🚑 Skip changelog inside the markdown-linter Signed-off-by: Javier Salmeron Garcia <[email protected]> * chore: 🔧 Add CHANGELOG.md to markdownignore Signed-off-by: Javier Salmeron Garcia <[email protected]> --------- Signed-off-by: Javier Salmeron Garcia <[email protected]>
1 parent 0bdc654 commit 43835e4

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

.github/workflows/markdown-linter.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ jobs:
3030
# This request doesn't consume API calls.
3131
curl -Lkso $TEMP_FILE $DIFF_URL
3232
files_changed="$(sed -nr 's/[\-\+]{3} [ab]\/(.*)/\1/p' $TEMP_FILE | sort | uniq)"
33-
md_files="$(echo "$files_changed" | grep -o ".*\.md$" | sort | uniq || true)"
33+
md_files="$(echo "$files_changed" | grep -v "CHANGELOG.md" | grep -o ".*\.md$" | sort | uniq || true)"
3434
# Create an empty file, useful when the PR changes ignored files
3535
touch "${TEMP_OUTPUT}"
3636
exit_code=0

.markdownlintignore

+1
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
11
LICENSE.md
22
.github/PULL_REQUEST_TEMPLATE.md
3+
CHANGELOG.md

0 commit comments

Comments
 (0)