From 03e68b12b24cd99ff1e2cd21cc333ee486912704 Mon Sep 17 00:00:00 2001 From: Nick Alteen Date: Thu, 22 Feb 2024 16:20:18 +0000 Subject: [PATCH 1/3] Add devcontainer configuration --- .devcontainer/devcontainer.json | 41 ++++++++++++++++++++++++++++++ .github/linters/.markdown-lint.yml | 11 ++++++++ 2 files changed, 52 insertions(+) create mode 100644 .devcontainer/devcontainer.json diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json new file mode 100644 index 0000000..128e439 --- /dev/null +++ b/.devcontainer/devcontainer.json @@ -0,0 +1,41 @@ +{ + "name": "GitHub Actions (Container)", + "image": "mcr.microsoft.com/devcontainers/base", + "customizations": { + "codespaces": { + "openFiles": ["README.md"] + }, + "vscode": { + "extensions": [ + "bierner.markdown-preview-github-styles", + "davidanson.vscode-markdownlint", + "esbenp.prettier-vscode", + "github.copilot", + "github.copilot-chat", + "github.vscode-github-actions", + "github.vscode-pull-request-github", + "me-dutour-mathieu.vscode-github-actions", + "ms-azuretools.vscode-docker", + "redhat.vscode-yaml", + "yzhang.markdown-all-in-one" + ], + "settings": { + "editor.defaultFormatter": "esbenp.prettier-vscode", + "editor.tabSize": 2, + "editor.formatOnSave": true, + "markdown.extension.list.indentationSize": "adaptive", + "markdown.extension.italic.indicator": "_", + "markdown.extension.orderedList.marker": "one" + } + } + }, + "remoteEnv": { + "GITHUB_TOKEN": "${localEnv:GITHUB_TOKEN}" + }, + "features": { + "ghcr.io/devcontainers/features/docker-in-docker:2": {}, + "ghcr.io/devcontainers/features/git-lfs:1": {}, + "ghcr.io/devcontainers/features/github-cli:1": {}, + "ghcr.io/devcontainers-contrib/features/prettier:1": {} + } +} diff --git a/.github/linters/.markdown-lint.yml b/.github/linters/.markdown-lint.yml index 6d79773..cb5883f 100644 --- a/.github/linters/.markdown-lint.yml +++ b/.github/linters/.markdown-lint.yml @@ -5,3 +5,14 @@ MD004: # Ordered list item prefix MD029: style: one + +# Spaces after list markers +MD030: + ul_single: 1 + ol_single: 1 + ul_multi: 1 + ol_multi: 1 + +# Code block style +MD046: + style: fenced From ef3d67c5d6598aba89d49b1ebaca5d5f767b5158 Mon Sep 17 00:00:00 2001 From: Nick Alteen Date: Thu, 22 Feb 2024 11:32:16 -0500 Subject: [PATCH 2/3] Add codespaces badge --- README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/README.md b/README.md index 87f6bcb..6831d3f 100644 --- a/README.md +++ b/README.md @@ -19,6 +19,8 @@ action, see the [Container Toolkit Action](https://github.com/actions/container-toolkit-action) repository. +[![Open in GitHub Codespaces](https://github.com/codespaces/badge.svg)](https://codespaces.new/actions/container-prebuilt-action) + ## Create Your Own Action To create your own action, you can use this repository as a template! Just From 495afb701e694432a7f64e714ca1e107b6d72473 Mon Sep 17 00:00:00 2001 From: Nick Alteen Date: Thu, 22 Feb 2024 16:41:53 -0500 Subject: [PATCH 3/3] Remove button --- README.md | 2 -- 1 file changed, 2 deletions(-) diff --git a/README.md b/README.md index 6831d3f..87f6bcb 100644 --- a/README.md +++ b/README.md @@ -19,8 +19,6 @@ action, see the [Container Toolkit Action](https://github.com/actions/container-toolkit-action) repository. -[![Open in GitHub Codespaces](https://github.com/codespaces/badge.svg)](https://codespaces.new/actions/container-prebuilt-action) - ## Create Your Own Action To create your own action, you can use this repository as a template! Just