Skip to content

Commit

Permalink
[bitnami/*] ci: 👷 🚑 Skip changelog inside the markdown-linter (bitnam…
Browse files Browse the repository at this point in the history
…i#26167)

* [bitnami/*] ci: 👷 🚑 Skip changelog inside the markdown-linter

Signed-off-by: Javier Salmeron Garcia <jsalmeron@vmware.com>

* chore: 🔧 Add CHANGELOG.md to markdownignore

Signed-off-by: Javier Salmeron Garcia <jsalmeron@vmware.com>

---------

Signed-off-by: Javier Salmeron Garcia <jsalmeron@vmware.com>
  • Loading branch information
javsalgar authored May 21, 2024
1 parent 0bdc654 commit 43835e4
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/markdown-linter.yml
Original file line number Diff line number Diff line change
@@ -30,7 +30,7 @@ jobs:
# This request doesn't consume API calls.
curl -Lkso $TEMP_FILE $DIFF_URL
files_changed="$(sed -nr 's/[\-\+]{3} [ab]\/(.*)/\1/p' $TEMP_FILE | sort | uniq)"
md_files="$(echo "$files_changed" | grep -o ".*\.md$" | sort | uniq || true)"
md_files="$(echo "$files_changed" | grep -v "CHANGELOG.md" | grep -o ".*\.md$" | sort | uniq || true)"
# Create an empty file, useful when the PR changes ignored files
touch "${TEMP_OUTPUT}"
exit_code=0
1 change: 1 addition & 0 deletions .markdownlintignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
LICENSE.md
.github/PULL_REQUEST_TEMPLATE.md
CHANGELOG.md

0 comments on commit 43835e4

Please sign in to comment.