Skip to content
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

HDDS-10351. Add GitHub Actions check for yaml formatting. #87

Merged
merged 3 commits into from
Mar 29, 2024

Conversation

errose28
Copy link
Contributor

@errose28 errose28 commented Mar 25, 2024

What changes were proposed in this pull request?

Use yamllint to to check yaml configuration files. This isn't a very important check IMO since most website changes will not be editing yaml files, and the _category_.yml files are pretty simple. However yamllint is already in the GitHub actions Ubuntu runner so it's low effort to add this check.

I set the yaml linting rules based on what I usually follow but I don't have strong opinions on them as long as they are consistent.

What is the link to the Apache Jira?

HDDS-10351

How was this patch tested?

@github-actions github-actions bot added the website-v2 Tasks for the new ozone website targeting the HDDS-9225-website-v2 branch label Mar 25, 2024
@errose28 errose28 requested a review from adoroszlai March 25, 2024 21:44
@errose28
Copy link
Contributor Author

Hi @adoroszlai this is the last PR I have planned for the website CI for the time being. Thank you for reviewing all these changes!

Copy link
Contributor

@adoroszlai adoroszlai left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @errose28 for the patch.

@adoroszlai adoroszlai merged commit 0c82bdc into apache:HDDS-9225-website-v2 Mar 29, 2024
13 checks passed
errose28 added a commit to errose28/ozone-site that referenced this pull request Apr 8, 2024
* HDDS-9225-website-v2:
  HDDS-10351. Add GitHub Actions check for yaml formatting (apache#87)
  HDDS-9567. Add GitHub Actions license header check for relevant files. (apache#86)
  HDDS-10506. Reduce directory iterations in sidebar check (apache#85)
  HDDS-9866. Add GitHub Actions checks for consistent Docusaurus formatting. (apache#84)
errose28 added a commit to errose28/ozone-site that referenced this pull request May 30, 2024
* HDDS-9225-website-v2:
  Bump docusaurus to 3.3.2 (apache#93)
  HDDS-10667. Improvements to spelling checks. (apache#89)
  HDDS-10698. Bump skywalking-eyes to v0.6.0 (apache#90)
  HDDS-10449. Add quick start to the top of contributing guide. (apache#83)
  HDDS-10351. Add GitHub Actions check for yaml formatting (apache#87)
  HDDS-9567. Add GitHub Actions license header check for relevant files. (apache#86)
  HDDS-10506. Reduce directory iterations in sidebar check (apache#85)
  HDDS-9866. Add GitHub Actions checks for consistent Docusaurus formatting. (apache#84)
  HDDS-10254. Add GitHub Actions check for Markdown style. (apache#81)
  HDDS-10349. Add GitHub Actions check for consistent file name formatting. (apache#79)
  HDDS-10426. Crop ozone-logo.svg to a proper size (apache#80)
  HDDS-10353. Add GitHub Actions check of all generated URLs in the sitemap. (apache#77)
  HDDS-9868. Add GitHub Actions check for spelling. (apache#76)
  HDDS-10400. Fix event condition in website publish workflow (apache#78)
  HDDS-10352. Add GitHub Actions workflow to build and run the website. (apache#74)
  HDDS-10222. Add pnpm guide to contributing guide. (apache#64)
  HDDS-10313. Update "Redundant" to "Reliable" in new website. (apache#73)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
website-v2 Tasks for the new ozone website targeting the HDDS-9225-website-v2 branch
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants