Skip to content

Commit

Permalink
skip README.md in content changes table (github#34118)
Browse files Browse the repository at this point in the history
  • Loading branch information
peterbe authored Jan 23, 2023
1 parent 80f2c27 commit 4a6d3b4
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/actions-scripts/content-changes-table-comment.js
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,9 @@ async function main(owner, repo, baseSHA, headSHA) {
let markdownTable = ''

const pathPrefix = 'content/'
const articleFiles = files.filter(({ filename }) => filename.startsWith(pathPrefix))
const articleFiles = files.filter(
({ filename }) => filename.startsWith(pathPrefix) && filename.toLowerCase() !== 'readme.md'
)

const lines = await Promise.all(
articleFiles.map(async (file) => {
Expand Down

0 comments on commit 4a6d3b4

Please sign in to comment.