Skip to content

Commit

Permalink
Merge pull request #674 from artichoke/dev/lopopolo-purge-markdown-li…
Browse files Browse the repository at this point in the history
…nk-check

Remove markdown link check
  • Loading branch information
lopopolo authored Dec 24, 2024
2 parents 88c6623 + 98be732 commit 50c773b
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 92 deletions.
25 changes: 0 additions & 25 deletions .github/markdown-link-check.json

This file was deleted.

34 changes: 0 additions & 34 deletions .github/workflows/markdown-link-check.yaml

This file was deleted.

28 changes: 14 additions & 14 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -79,20 +79,20 @@ available tasks by running:

```console
$ bundle exec rake --tasks
rake bundle:audit:check # Checks the Gemfile.lock for insecure dependencies
rake bundle:audit:update # Updates the bundler-audit vulnerability database
rake fmt # Format sources
rake fmt:terraform # Format Terraform sources with terraform fmt
rake fmt:text # Format text, YAML, and Markdown sources with prettier
rake format # Format sources
rake format:terraform # Format Terraform sources with terraform fmt
rake format:text # Format text, YAML, and Markdown sources with prettier
rake lint # Lint sources
rake lint:rubocop # Run RuboCop
rake lint:rubocop:autocorrect # Auto-correct RuboCop offenses
rake lint:terraform # Lint Terraform sources
rake release:markdown_link_check # Check for broken links in markdown files
rake terraform:providers:lock # Lock terraform providers on all plaforms in all environments
rake bundle:audit:check # Checks the Gemfile.lock for insecure dependencies
rake bundle:audit:update # Updates the bundler-audit vulnerability database
rake fmt # Format sources
rake fmt:terraform # Format Terraform sources with terraform fmt
rake fmt:text # Format text, YAML, and Markdown sources with prettier
rake format # Format sources
rake format:terraform # Format Terraform sources with terraform fmt
rake format:text # Format text, YAML, and Markdown sources with prettier
rake lint # Lint sources
rake lint:rubocop # Run RuboCop
rake lint:rubocop:autocorrect # Autocorrect RuboCop offenses (only when it's safe)
rake lint:rubocop:autocorrect_all # Autocorrect RuboCop offenses (safe and unsafe)
rake lint:terraform # Lint Terraform sources
rake terraform:providers:lock # Lock terraform providers on all plaforms in all environments
```

To lint Ruby sources, project-infrastructure uses [RuboCop]. RuboCop runs as
Expand Down
19 changes: 0 additions & 19 deletions Rakefile
Original file line number Diff line number Diff line change
Expand Up @@ -69,22 +69,3 @@ namespace :terraform do
end
end
end

namespace :release do
link_check_files = FileList.new('**/*.md') do |f|
f.exclude('node_modules/**/*')
f.exclude('**/target/**/*')
f.exclude('**/vendor/**/*')
f.include('*.md')
f.include('**/vendor/*.md')
end

link_check_files.sort.uniq.each do |markdown|
desc 'Check for broken links in markdown files'
task markdown_link_check: markdown do
command = ['npx', 'markdown-link-check', '--config', '.github/markdown-link-check.json', markdown]
sh command.shelljoin
sleep(rand(1..5))
end
end
end

0 comments on commit 50c773b

Please sign in to comment.