-
Notifications
You must be signed in to change notification settings - Fork 1
Add GitHub Super-Linter workflow (#2) #7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
Implemented a GitHub Actions workflow for code linting with two jobs: - Super-Linter job for general code quality checks - Dedicated Markdown linter job for documentation files Configuration based on examples from unikraft/docs and sandblaster repositories. VALIDATE_MARKDOWN is disabled in the main linter to avoid duplicate checks.
razvand
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Comments below
| uses: tj-actions/changed-files@v39 | ||
| id: changed-files | ||
| with: | ||
| files: '**/*.mdx' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| files: '**/*.mdx' | |
| files: '**/*.md' |
| if: steps.changed-files.outputs.any_changed == 'true' | ||
| with: | ||
| files: ${{ steps.changed-files.outputs.all_changed_files }} | ||
| config_file: .github/workflows/config/config.json |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No such file in commit.
| files: ${{ steps.changed-files.outputs.all_changed_files }} | ||
| config_file: .github/workflows/config/config.json | ||
| dot: true | ||
| rules: .github/workflows/rules/rules.js No newline at end of file |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No such file in commit.
| files: ${{ steps.changed-files.outputs.all_changed_files }} | ||
| config_file: .github/workflows/config/config.json | ||
| dot: true | ||
| rules: .github/workflows/rules/rules.js No newline at end of file |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Add missing ending newline.
Implemented a GitHub Actions workflow for code linting with two jobs: