diff --git a/.github/actions/doc_preview/action.yml b/.github/actions/doc_preview/action.yml index ae4f811157..7ece4061ea 100644 --- a/.github/actions/doc_preview/action.yml +++ b/.github/actions/doc_preview/action.yml @@ -2,7 +2,8 @@ # # SPDX-License-Identifier: Apache-2.0 -name: Preview or clean up docs built from PRs +name: Docs in PRs +description: Preview or clean up docs built from PRs # A re-implementation based on the logic of https://github.com/rossjrw/pr-preview-action/blob/41a957c44a456a34718e9bcf825363194db5e6d5/README.md, due to limitations illustrated in NVIDIA/cuda-python#380. @@ -10,9 +11,11 @@ inputs: source-folder: required: true type: string + description: "Source code directory" pr-number: required: true type: string + description: "Pull request number" runs: using: composite diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index c10f6f0494..f79099ac58 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -4,7 +4,7 @@ name: "CI: Release" -description: Manually-triggered release workflow. Creates a release draft if one doesn't exist for the given tag, or uses existing draft. +# Manually-triggered release workflow. Creates a release draft if one doesn't exist for the given tag, or uses existing draft. on: workflow_dispatch: diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index d65ffce912..a26c9dec5f 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -80,5 +80,10 @@ repos: files: ^cuda_pathfinder/cuda/.*\.py$ # Exclude tests directory args: [--config-file=cuda_pathfinder/pyproject.toml] + - repo: https://github.com/rhysd/actionlint + rev: "03d0035246f3e81f36aed592ffb4bebf33a03106" # frozen: v1.7.7 + hooks: + - id: actionlint + default_language_version: python: python3