From 040edb85b74ff9a82751011c6d64b8359c860c45 Mon Sep 17 00:00:00 2001 From: Takuma IMAMURA <209989118+hyperfinitism@users.noreply.github.com> Date: Fri, 27 Mar 2026 14:56:03 +0900 Subject: [PATCH 1/2] ci: optimize GitHub Actions workflow triggers --- .github/workflows/lint-md.yml | 15 +++++++++++++-- .github/workflows/lint.yml | 13 +++++++++++++ .github/workflows/spdx.yml | 11 +++++++++++ .github/workflows/test.yml | 13 +++++++++++++ 4 files changed, 50 insertions(+), 2 deletions(-) diff --git a/.github/workflows/lint-md.yml b/.github/workflows/lint-md.yml index 308228e..3be6d58 100644 --- a/.github/workflows/lint-md.yml +++ b/.github/workflows/lint-md.yml @@ -2,7 +2,18 @@ name: Lint (Markdown) on: pull_request: + paths: + - '**/*.md' + - '.github/workflows/lint-md.yml' + - '.markdownlint.yaml' push: + branches: + - main + paths: + - '**/*.md' + - '.github/workflows/lint-md.yml' + - '.markdownlint.yaml' + workflow_dispatch: concurrency: group: ${{ github.workflow }}-${{ github.ref }} @@ -20,6 +31,6 @@ jobs: - uses: DavidAnson/markdownlint-cli2-action@07035fd053f7be764496c0f8d8f9f41f98305101 # v22.0.0 with: globs: | - 'README.md' - 'docs/**/*.md' + README.md + docs/**/*.md config: .markdownlint.yaml diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index b33bd2e..6f98ec8 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -2,7 +2,20 @@ name: Lint on: pull_request: + paths: + - '**/*.rs' + - '**/Cargo.toml' + - '**/Cargo.lock' + - '.github/workflows/lint.yml' push: + branches: + - main + paths: + - '**/*.rs' + - '**/Cargo.toml' + - '**/Cargo.lock' + - '.github/workflows/lint.yml' + workflow_dispatch: concurrency: group: ${{ github.workflow }}-${{ github.ref }} diff --git a/.github/workflows/spdx.yml b/.github/workflows/spdx.yml index 9b14191..d847771 100644 --- a/.github/workflows/spdx.yml +++ b/.github/workflows/spdx.yml @@ -2,7 +2,18 @@ name: SPDX Check on: pull_request: + paths: + - '**/*.rs' + - '**/*.sh' + - '.github/workflows/spdx.yml' push: + branches: + - main + paths: + - '**/*.rs' + - '**/*.sh' + - '.github/workflows/spdx.yml' + workflow_dispatch: concurrency: group: ${{ github.workflow }}-${{ github.ref }} diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index cdcbff8..bb2e025 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -2,7 +2,20 @@ name: Test on: pull_request: + paths: + - '**/*.rs' + - '**/Cargo.toml' + - '**/Cargo.lock' + - '.github/workflows/test.yml' push: + branches: + - main + paths: + - '**/*.rs' + - '**/Cargo.toml' + - '**/Cargo.lock' + - '.github/workflows/test.yml' + workflow_dispatch: concurrency: group: ${{ github.workflow }}-${{ github.ref }} From ee487960ec242f64995e721a3a548e8a5f515d9c Mon Sep 17 00:00:00 2001 From: Takuma IMAMURA <209989118+hyperfinitism@users.noreply.github.com> Date: Fri, 27 Mar 2026 15:56:57 +0900 Subject: [PATCH 2/2] chore(docs): fix lint error MD013 --- docs/architecture.md | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/docs/architecture.md b/docs/architecture.md index 98a7a65..8031628 100644 --- a/docs/architecture.md +++ b/docs/architecture.md @@ -525,12 +525,14 @@ Behavior depends on which optional fields are provided: ## References - AWS. - [AWS Whitepaper - The Security Design of the AWS Nitro System](https://docs.aws.amazon.com/pdfs/whitepapers/latest/security-design-of-aws-nitro-system/security-design-of-aws-nitro-system.pdf) (PDF). + [AWS Whitepaper - The Security Design of the AWS Nitro System](https://docs.aws.amazon.com/pdfs/whitepapers/latest/security-design-of-aws-nitro-system/security-design-of-aws-nitro-system.pdf), + (PDF). - AWS. - [User Guide - AWS Nitro Enclaves](https://docs.aws.amazon.com/pdfs/enclaves/latest/user/enclaves-user.pdf) (PDF). + [User Guide - AWS Nitro Enclaves](https://docs.aws.amazon.com/pdfs/enclaves/latest/user/enclaves-user.pdf) + (PDF). - AWS. - [User Guide - Amazon Elastic Compute Cloud](https://docs.aws.amazon.com/pdfs/AWSEC2/latest/UserGuide/ec2-ug.pdf) (PDF), - pp. 3070-3103. + [User Guide - Amazon Elastic Compute Cloud](https://docs.aws.amazon.com/pdfs/AWSEC2/latest/UserGuide/ec2-ug.pdf) + (PDF), pp. 3070-3103. - AWS. [Nitro Enclaves Command Line Interface (Nitro CLI)](https://github.com/aws/aws-nitro-enclaves-cli), GitHub repository.