Skip to content

Conversation

@dstala
Copy link
Member

@dstala dstala commented Sep 2, 2024

Change Summary

Provide summary of changes with issue number if any.

Change type

  • feat: (new feature for the user, not a new feature for build script)
  • fix: (bug fix for the user, not a fix to a build script)
  • docs: (changes to the documentation)
  • style: (formatting, missing semi colons, etc; no production code change)
  • refactor: (refactoring production code, eg. renaming a variable)
  • test: (adding missing tests, refactoring tests; no production code change)
  • chore: (updating grunt tasks etc; no production code change)

Test/ Verification

Provide summary of changes.

Additional information / screenshots (optional)

Anything for maintainers to be made aware of

@dosubot dosubot bot added the size:L This PR changes 100-499 lines, ignoring generated files. label Sep 2, 2024
@coderabbitai
Copy link
Contributor

coderabbitai bot commented Sep 2, 2024

Walkthrough

Walkthrough

The documentation for NocoDB has been updated with a focus on hyperlink modifications, including the conversion of relative links to absolute paths, adjustments to link structures for clarity, and consistent formatting across multiple documents. These changes ensure that the content remains accessible and organized, while the underlying functionality of the documentation is unchanged.

Changes

Files Change Summary
packages/noco-docs/docs/020.getting-started/.../020.environment-variables.md Table formatting adjustments for environment variables documentation.
packages/noco-docs/docs/030.workspaces/.../010.workspace-overview.md Hyperlink text changes for modifying workspace member roles.
packages/noco-docs/docs/040.bases/.../010.base-overview.md Update of hyperlink to "Base Collaborations" with a leading slash for absolute linking.
packages/noco-docs/docs/060.table-operations/.../010.overview.md Links for toolbar functionalities updated to absolute paths.
packages/noco-docs/docs/080.records/.../010.records-overview.md Updates to record action links for bulk updating, deleting, and duplicating records.
packages/noco-docs/docs/090.views/.../010.views-overview.md Hyperlinks for view types updated to absolute paths.
packages/noco-docs/docs/090.views/.../040.view-types/.../010.grid.md Modifications to links for grid view actions, including changes in terminology.
packages/noco-docs/docs/090.views/.../040.view-types/.../020.gallery.md Update of hyperlink format for creating a new gallery view.
packages/noco-docs/docs/090.views/.../040.view-types/.../030.form.md Minor hyperlink format change for creating a new form view.
packages/noco-docs/docs/090.views/.../040.view-types/.../040.kanban.md Updates to Kanban view action links for consistency.
packages/noco-docs/docs/090.views/.../040.view-types/.../050.calendar.md Minor hyperlink format change for creating a new calendar view.
packages/noco-docs/docs/100.data-sources/.../010.data-source-overview.md Updates to links for editing and removing data sources.
packages/noco-docs/docs/120.collaboration/.../010.collaboration-overview.md Hyperlink adjustments to absolute paths for collaboration features.
packages/noco-docs/docs/130.automation/.../020.webhook/.../010.webhook-overview.md Updates to webhook action links for clarity and structure.
packages/noco-docs/docs/140.account-settings/.../030.authentication/.../010.overview.md Updates to integration instruction links for Google OAuth, SAML, and OIDC.
packages/noco-docs/docs/160.developer-resources/.../010.rest-APIs/.../010.accessing-apis.md Removal of trailing slash in hyperlink for Swagger UI documentation.
packages/noco-docs/docs/160.developer-resources/.../020.webhook/.../010.webhook-overview.md Updates to webhook action links for more explicit path structure.
.github/workflows/validate-docs-links.yml New workflow for validating documentation links within the NocoDB directory.

Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?

Share
Tips

Chat

There are 3 ways to chat with CodeRabbit:

  • Review comments: Directly reply to a review comment made by CodeRabbit. Example:
    • I pushed a fix in commit <commit_id>.
    • Generate unit testing code for this file.
    • Open a follow-up GitHub issue for this discussion.
  • Files and specific lines of code (under the "Files changed" tab): Tag @coderabbitai in a new review comment at the desired location with your query. Examples:
    • @coderabbitai generate unit testing code for this file.
    • @coderabbitai modularize this function.
  • PR comments: Tag @coderabbitai in a new PR comment to ask questions about the PR branch. For the best results, please provide a very specific query, as very limited context is provided in this mode. Examples:
    • @coderabbitai generate interesting stats about this repository and render them as a table.
    • @coderabbitai show all the console.log statements in this repository.
    • @coderabbitai read src/utils.ts and generate unit testing code.
    • @coderabbitai read the files in the src/scheduler package and generate a class diagram using mermaid and a README in the markdown format.
    • @coderabbitai help me debug CodeRabbit configuration file.

Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments.

CodeRabbit Commands (Invoked using PR comments)

  • @coderabbitai pause to pause the reviews on a PR.
  • @coderabbitai resume to resume the paused reviews.
  • @coderabbitai review to trigger an incremental review. This is useful when automatic reviews are disabled for the repository.
  • @coderabbitai full review to do a full review from scratch and review all the files again.
  • @coderabbitai summary to regenerate the summary of the PR.
  • @coderabbitai resolve resolve all the CodeRabbit review comments.
  • @coderabbitai configuration to show the current CodeRabbit configuration for the repository.
  • @coderabbitai help to get help.

Other keywords and placeholders

  • Add @coderabbitai ignore anywhere in the PR description to prevent this PR from being reviewed.
  • Add @coderabbitai summary to generate the high-level summary at a specific location in the PR description.
  • Add @coderabbitai anywhere in the PR title to generate the title automatically.

CodeRabbit Configuration File (.coderabbit.yaml)

  • You can programmatically configure CodeRabbit by adding a .coderabbit.yaml file to the root of your repository.
  • Please see the configuration documentation for more information.
  • If your editor has YAML language server enabled, you can add the path at the top of this file to enable auto-completion and validation: # yaml-language-server: $schema=https://coderabbit.ai/integrations/schema.v2.json

Documentation and Community

  • Visit our Documentation for detailed information on how to use CodeRabbit.
  • Join our Discord Community to get help, request features, and share feedback.
  • Follow us on X/Twitter for updates and announcements.

Tip

Early access features: enabled

We are currently testing the following features in early access:

  • Anthropic claude-3-5-sonnet for code reviews: Anthropic claims that the new Claude model has stronger code understanding and code generation capabilities than their previous models. Note: Our default code review model was also updated late last week. Please compare the quality of the reviews between the two models by toggling the early access feature.

Note:

  • You can enable or disable early access features from the CodeRabbit UI or by updating the CodeRabbit configuration file.
  • Please join our Discord Community to provide feedback and report issues on the discussion post.

Copy link
Contributor

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

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

Actionable comments posted: 0

Outside diff range, codebase verification and nitpick comments (4)
packages/noco-docs/docs/080.records/010.records-overview.md (2)

12-12: LGTM! Link updates look good.

The changes to the links are consistent with the summary and appear to be correct.

Consider these minor style improvements:

  1. Replace "a variety of" with a more concise phrase, e.g., "several" or "multiple".
  2. Consider removing "new" from "create a new record" for brevity.

Example:

- You can perform a variety of actions to efficiently manage your data. To get started, you can [create a new record](/records/create-record) to input essential information.
+ You can perform several actions to efficiently manage your data. To get started, you can [create a record](/records/create-record) to input essential information.
Tools
LanguageTool

[style] ~12-~12: The phrase “a variety of” may be wordy. To make your writing clearer, consider replacing it.
Context: ... for data management. You can perform a variety of actions to efficiently manage your data...

(A_VARIETY_OF)


[style] ~12-~12: ‘new record’ might be wordy. Consider a shorter alternative.
Context: ...data. To get started, you can create a new record to input essen...

(EN_WORDINESS_PREMIUM_NEW_RECORD)


18-22: Fix unordered list indentation.

The Markdownlint tool has flagged issues with the indentation of the unordered list items. To resolve this, remove the single space before each list item.

Apply the following changes to fix the list indentation:

-  - [Create Record](/records/create-record)
-  - [Modify an existing Record](/records/actions-on-record#update-record)
-  - [Bulk Update Records](/records/actions-on-record#bulk-update-records--)
-  - [Delete Record](/records/actions-on-record#delete-record-single)
-  - [Duplicate Record](/records/expand-record#duplicate-record)
+ - [Create Record](/records/create-record)
+ - [Modify an existing Record](/records/actions-on-record#update-record)
+ - [Bulk Update Records](/records/actions-on-record#bulk-update-records--)
+ - [Delete Record](/records/actions-on-record#delete-record-single)
+ - [Duplicate Record](/records/expand-record#duplicate-record)
Tools
Markdownlint

18-18: Expected: 0; Actual: 1
Unordered list indentation

(MD007, ul-indent)


19-19: Expected: 0; Actual: 1
Unordered list indentation

(MD007, ul-indent)


20-20: Expected: 0; Actual: 1
Unordered list indentation

(MD007, ul-indent)


21-21: Expected: 0; Actual: 1
Unordered list indentation

(MD007, ul-indent)


22-22: Expected: 0; Actual: 1
Unordered list indentation

(MD007, ul-indent)

packages/noco-docs/docs/020.getting-started/050.self-hosted/020.environment-variables.md (2)

Line range hint 96-125: New Litestream configuration section added

Great addition of the Litestream configuration section! This provides crucial information for users who want to set up SQLite database backups using Litestream. The detailed explanations for each environment variable will be very helpful.

A minor suggestion for improvement:

Consider adding a brief explanation or link to documentation about what Litestream is and its benefits at the beginning of this section. This would help users who are unfamiliar with Litestream understand its purpose quickly.

Tools
LanguageTool

[uncategorized] ~87-~87: The official spelling of this programming framework is “Express.js”.
Context: ... allowed in the request body, based on [ExpressJS limits](https://expressjs.com/en/resour...

(NODE_JS)


87-87: Minor spelling suggestion for Express.js

The documentation currently uses "ExpressJS" when referring to the Express.js framework.

Consider changing "ExpressJS" to "Express.js" for consistency with the official spelling. However, this is a minor issue and doesn't affect the overall quality of the documentation.

Tools
LanguageTool

[uncategorized] ~87-~87: The official spelling of this programming framework is “Express.js”.
Context: ... allowed in the request body, based on [ExpressJS limits](https://expressjs.com/en/resour...

(NODE_JS)

Review details

Configuration used: CodeRabbit UI
Review profile: CHILL

Commits

Files that changed from the base of the PR and between 8740421 and 25dbcd3.

Files selected for processing (17)
  • packages/noco-docs/docs/020.getting-started/050.self-hosted/020.environment-variables.md (1 hunks)
  • packages/noco-docs/docs/030.workspaces/010.workspace-overview.md (3 hunks)
  • packages/noco-docs/docs/040.bases/010.base-overview.md (1 hunks)
  • packages/noco-docs/docs/060.table-operations/010.overview.md (1 hunks)
  • packages/noco-docs/docs/080.records/010.records-overview.md (1 hunks)
  • packages/noco-docs/docs/090.views/010.views-overview.md (1 hunks)
  • packages/noco-docs/docs/090.views/040.view-types/010.grid.md (2 hunks)
  • packages/noco-docs/docs/090.views/040.view-types/020.gallery.md (1 hunks)
  • packages/noco-docs/docs/090.views/040.view-types/030.form.md (1 hunks)
  • packages/noco-docs/docs/090.views/040.view-types/040.kanban.md (2 hunks)
  • packages/noco-docs/docs/090.views/040.view-types/050.calendar.md (1 hunks)
  • packages/noco-docs/docs/100.data-sources/010.data-source-overview.md (1 hunks)
  • packages/noco-docs/docs/120.collaboration/010.collaboration-overview.md (1 hunks)
  • packages/noco-docs/docs/130.automation/020.webhook/010.webhook-overview.md (1 hunks)
  • packages/noco-docs/docs/140.account-settings/030.authentication/010.overview.md (1 hunks)
  • packages/noco-docs/docs/160.developer-resources/010.rest-APIs/010.accessing-apis.md (1 hunks)
  • packages/noco-docs/docs/160.developer-resources/020.webhook/010.webhook-overview.md (1 hunks)
Files skipped from review due to trivial changes (15)
  • packages/noco-docs/docs/030.workspaces/010.workspace-overview.md
  • packages/noco-docs/docs/040.bases/010.base-overview.md
  • packages/noco-docs/docs/060.table-operations/010.overview.md
  • packages/noco-docs/docs/090.views/010.views-overview.md
  • packages/noco-docs/docs/090.views/040.view-types/010.grid.md
  • packages/noco-docs/docs/090.views/040.view-types/020.gallery.md
  • packages/noco-docs/docs/090.views/040.view-types/030.form.md
  • packages/noco-docs/docs/090.views/040.view-types/040.kanban.md
  • packages/noco-docs/docs/090.views/040.view-types/050.calendar.md
  • packages/noco-docs/docs/100.data-sources/010.data-source-overview.md
  • packages/noco-docs/docs/120.collaboration/010.collaboration-overview.md
  • packages/noco-docs/docs/130.automation/020.webhook/010.webhook-overview.md
  • packages/noco-docs/docs/140.account-settings/030.authentication/010.overview.md
  • packages/noco-docs/docs/160.developer-resources/010.rest-APIs/010.accessing-apis.md
  • packages/noco-docs/docs/160.developer-resources/020.webhook/010.webhook-overview.md
Additional context used
LanguageTool
packages/noco-docs/docs/080.records/010.records-overview.md

[style] ~12-~12: The phrase “a variety of” may be wordy. To make your writing clearer, consider replacing it.
Context: ... for data management. You can perform a variety of actions to efficiently manage your data...

(A_VARIETY_OF)


[style] ~12-~12: ‘new record’ might be wordy. Consider a shorter alternative.
Context: ...data. To get started, you can create a new record to input essen...

(EN_WORDINESS_PREMIUM_NEW_RECORD)

packages/noco-docs/docs/020.getting-started/050.self-hosted/020.environment-variables.md

[uncategorized] ~87-~87: The official spelling of this programming framework is “Express.js”.
Context: ... allowed in the request body, based on [ExpressJS limits](https://expressjs.com/en/resour...

(NODE_JS)

Markdownlint
packages/noco-docs/docs/080.records/010.records-overview.md

18-18: Expected: 0; Actual: 1
Unordered list indentation

(MD007, ul-indent)


19-19: Expected: 0; Actual: 1
Unordered list indentation

(MD007, ul-indent)


20-20: Expected: 0; Actual: 1
Unordered list indentation

(MD007, ul-indent)


21-21: Expected: 0; Actual: 1
Unordered list indentation

(MD007, ul-indent)


22-22: Expected: 0; Actual: 1
Unordered list indentation

(MD007, ul-indent)

Additional comments not posted (4)
packages/noco-docs/docs/080.records/010.records-overview.md (2)

21-22: LGTM! Link updates for Delete and Duplicate Record look good.

The changes to the "Delete Record" and "Duplicate Record" links are consistent with the summary and appear to be intentional updates to the documentation structure.

Please run the following script to verify the existence and consistency of these updated links across the documentation:

Verification successful

Verification Successful: Updated Links Are Consistent

The updated links for "Delete Record" and "Duplicate Record" are correctly implemented and consistent across the documentation. No old links were found, confirming that the updates have been applied comprehensively.

  • Delete Record: /records/actions-on-record#delete-record-single
  • Duplicate Record: /records/expand-record#duplicate-record
Scripts executed

The following scripts were executed for the analysis:

Script:

#!/bin/bash
# Description: Verify the existence and consistency of the updated links

# Test 1: Check for the updated "Delete Record" link
echo "Checking for the updated 'Delete Record' link:"
rg --type md '/records/actions-on-record#delete-record-single'

# Test 2: Check for the updated "Duplicate Record" link
echo "Checking for the updated 'Duplicate Record' link:"
rg --type md '/records/expand-record#duplicate-record'

# Test 3: Check for any remaining old links that might need updating
echo "Checking for any remaining old links:"
rg --type md '/records/actions-on-record#delete-record\b'
rg --type md '/records/actions-on-record#duplicate-record\b'

Length of output: 4652

Tools
Markdownlint

21-21: Expected: 0; Actual: 1
Unordered list indentation

(MD007, ul-indent)


22-22: Expected: 0; Actual: 1
Unordered list indentation

(MD007, ul-indent)


20-20: Verify the updated link structure.

The link for "Bulk Update Records" has been updated, but the addition of two hyphens at the end is unusual.

Please confirm that the link /records/actions-on-record#bulk-update-records-- is correct and functional. If it's intentional for the documentation system, it's fine. Otherwise, consider removing the extra hyphens.

Tools
Markdownlint

20-20: Expected: 0; Actual: 1
Unordered list indentation

(MD007, ul-indent)

packages/noco-docs/docs/020.getting-started/050.self-hosted/020.environment-variables.md (2)

78-95: Improved documentation for Product Configuration environment variables

The changes in this section enhance the clarity and completeness of the documentation:

  • Table structure is more consistent and easier to read.
  • New environment variables have been added, such as NC_SANITIZE_COLUMN_NAME and NC_TOOL_DIR.
  • Descriptions for existing variables have been expanded or clarified.

These improvements will help users better understand and configure the product.

Tools
LanguageTool

[uncategorized] ~87-~87: The official spelling of this programming framework is “Express.js”.
Context: ... allowed in the request body, based on [ExpressJS limits](https://expressjs.com/en/resour...

(NODE_JS)


Line range hint 1-125: Overall documentation improvements

The changes made to this file significantly enhance the quality and comprehensiveness of the environment variables documentation:

  1. Improved formatting and consistency across all sections.
  2. Addition of new environment variables with clear descriptions.
  3. Introduction of the Litestream configuration section, providing valuable information for SQLite users.

These updates will greatly assist users in configuring and using NocoDB effectively.

Tools
LanguageTool

[uncategorized] ~87-~87: The official spelling of this programming framework is “Express.js”.
Context: ... allowed in the request body, based on [ExpressJS limits](https://expressjs.com/en/resour...

(NODE_JS)

Signed-off-by: Pranav C <pranavxc@gmail.com>
@dosubot dosubot bot added the lgtm This PR has been approved by a maintainer label Sep 2, 2024
@pranavxc pranavxc merged commit 756464e into develop Sep 2, 2024
@pranavxc pranavxc deleted the nc-chore/docs-link-corrections branch September 2, 2024 05:51
Copy link
Contributor

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

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

Actionable comments posted: 2

Review details

Configuration used: CodeRabbit UI
Review profile: CHILL

Commits

Files that changed from the base of the PR and between 25dbcd3 and 51e040b.

Files ignored due to path filters (2)
  • packages/noco-docs/package-lock.json is excluded by !**/package-lock.json, !**/*.json
  • packages/noco-docs/package.json is excluded by !**/*.json
Files selected for processing (1)
  • .github/workflows/validate-docs-links.yml (1 hunks)
Additional context used
actionlint
.github/workflows/validate-docs-links.yml

14-14: label "aws" is unknown. available labels are "windows-latest", "windows-latest-8-cores", "windows-2022", "windows-2019", "ubuntu-latest", "ubuntu-latest-4-cores", "ubuntu-latest-8-cores", "ubuntu-latest-16-cores", "ubuntu-24.04", "ubuntu-22.04", "ubuntu-20.04", "macos-latest", "macos-latest-xl", "macos-latest-xlarge", "macos-latest-large", "macos-14-xl", "macos-14-xlarge", "macos-14-large", "macos-14", "macos-14.0", "macos-13-xl", "macos-13-xlarge", "macos-13-large", "macos-13", "macos-13.0", "macos-12-xl", "macos-12-xlarge", "macos-12-large", "macos-12", "macos-12.0", "macos-11", "macos-11.0", "self-hosted", "x64", "arm", "arm64", "linux", "macos", "windows". if it is a custom label for self-hosted runner, set list of labels in actionlint.yaml config file

(runner-label)

Additional comments not posted (2)
.github/workflows/validate-docs-links.yml (2)

1-11: Workflow name and triggers look good.

The workflow name is clear, and the triggers are well-defined. It's good that it's limited to the 'develop' branch and only runs when documentation files are changed.


12-14: Consider updating the runner label.

The aws label for the self-hosted runner is not a standard GitHub-provided label. This might cause issues if the label is not properly configured in your self-hosted runner setup.

To resolve this, you can either:

  1. Ensure that the aws label is correctly set up in your self-hosted runner configuration.
  2. Use a more generic label like linux if that's applicable to your AWS runner.

Example fix:

- runs-on: [self-hosted, aws]
+ runs-on: [self-hosted, linux]

If you're intentionally using a custom aws label, you may want to document this in your project's contributor guidelines to avoid confusion.

Tools
actionlint

14-14: label "aws" is unknown. available labels are "windows-latest", "windows-latest-8-cores", "windows-2022", "windows-2019", "ubuntu-latest", "ubuntu-latest-4-cores", "ubuntu-latest-8-cores", "ubuntu-latest-16-cores", "ubuntu-24.04", "ubuntu-22.04", "ubuntu-20.04", "macos-latest", "macos-latest-xl", "macos-latest-xlarge", "macos-latest-large", "macos-14-xl", "macos-14-xlarge", "macos-14-large", "macos-14", "macos-14.0", "macos-13-xl", "macos-13-xlarge", "macos-13-large", "macos-13", "macos-13.0", "macos-12-xl", "macos-12-xlarge", "macos-12-large", "macos-12", "macos-12.0", "macos-11", "macos-11.0", "self-hosted", "x64", "arm", "arm64", "linux", "macos", "windows". if it is a custom label for self-hosted runner, set list of labels in actionlint.yaml config file

(runner-label)

Comment on lines +15 to +28
steps:
- name: Checkout
uses: actions/checkout@v3
with:
fetch-depth: 0
- uses: actions/setup-node@v3
with:
node-version: 18.19.1
- name: Build docs
run: |
cd packages/noco-docs
npm install
npm run generate
npm run remark:once
Copy link
Contributor

Choose a reason for hiding this comment

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

Consider enhancing job steps for better performance and reliability.

The current steps are good, but we can improve them:

  1. Add caching for npm dependencies to speed up the workflow.
  2. Use a specific npm version for consistency.
  3. Add error handling and artifact uploading for better debugging.

Here's an example of how you could enhance the job steps:

steps:
  - name: Checkout
    uses: actions/checkout@v3
    with:
      fetch-depth: 0

  - name: Setup Node.js
    uses: actions/setup-node@v3
    with:
      node-version: 18.19.1
      cache: 'npm'
      cache-dependency-path: packages/noco-docs/package-lock.json

  - name: Install dependencies
    run: |
      cd packages/noco-docs
      npm ci

  - name: Build docs
    run: |
      cd packages/noco-docs
      npm run generate
      npm run remark:once
    
  - name: Upload artifact
    uses: actions/upload-artifact@v3
    if: failure()
    with:
      name: docs-build
      path: packages/noco-docs/dist

These changes will:

  • Cache npm dependencies
  • Use npm ci for more reliable installs
  • Separate installation and build steps
  • Upload the built docs as an artifact if the job fails, aiding in debugging

Comment on lines +1 to +28
name: "Validate: Docs"

on:
# Triggered manually
workflow_dispatch:
pull_request:
types: [opened, reopened, synchronize, ready_for_review, labeled]
branches: [develop]
paths:
- "packages/noco-docs/**"

jobs:
validate-docs:
runs-on: [self-hosted, aws]
steps:
- name: Checkout
uses: actions/checkout@v3
with:
fetch-depth: 0
- uses: actions/setup-node@v3
with:
node-version: 18.19.1
- name: Build docs
run: |
cd packages/noco-docs
npm install
npm run generate
npm run remark:once
Copy link
Contributor

Choose a reason for hiding this comment

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

Consider additional best practices for GitHub Actions workflows.

The workflow is good overall, but here are some final suggestions to enhance it:

  1. Add a timeout to the job to prevent long-running builds:

    jobs:
      validate-docs:
        timeout-minutes: 10
  2. Consider adding a concurrency group to cancel in-progress jobs when new commits are pushed:

    concurrency:
      group: ${{ github.workflow }}-${{ github.ref }}
      cancel-in-progress: true
  3. Add a step to report the status of the docs validation, which could be useful for PR checks:

    - name: Report docs status
      if: always()
      uses: actions/github-script@v6
      with:
        script: |
          const conclusion = '${{ job.status }}' === 'success' ? 'success' : 'failure';
          github.rest.checks.create({
            owner: context.repo.owner,
            repo: context.repo.repo,
            name: 'Docs Validation',
            head_sha: context.sha,
            status: 'completed',
            conclusion: conclusion,
            output: {
              title: 'Docs Validation Result',
              summary: 'The docs validation process has ' + (conclusion === 'success' ? 'passed' : 'failed') + '.'
            }
          })

These additions will make your workflow more robust and informative.

Tools
actionlint

14-14: label "aws" is unknown. available labels are "windows-latest", "windows-latest-8-cores", "windows-2022", "windows-2019", "ubuntu-latest", "ubuntu-latest-4-cores", "ubuntu-latest-8-cores", "ubuntu-latest-16-cores", "ubuntu-24.04", "ubuntu-22.04", "ubuntu-20.04", "macos-latest", "macos-latest-xl", "macos-latest-xlarge", "macos-latest-large", "macos-14-xl", "macos-14-xlarge", "macos-14-large", "macos-14", "macos-14.0", "macos-13-xl", "macos-13-xlarge", "macos-13-large", "macos-13", "macos-13.0", "macos-12-xl", "macos-12-xlarge", "macos-12-large", "macos-12", "macos-12.0", "macos-11", "macos-11.0", "self-hosted", "x64", "arm", "arm64", "linux", "macos", "windows". if it is a custom label for self-hosted runner, set list of labels in actionlint.yaml config file

(runner-label)

pranavxc added a commit that referenced this pull request Sep 2, 2024
Nc chore/docs link corrections

Signed-off-by: Pranav C <pranavxc@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

lgtm This PR has been approved by a maintainer 📋 Scope : Docs size:L This PR changes 100-499 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants