From a7dbaf1fe32b6c67f248300ed5f25992913961eb Mon Sep 17 00:00:00 2001 From: Justin Dearing Date: Fri, 5 Jan 2024 20:52:12 -0500 Subject: [PATCH 1/3] added a readme plus actions --- .github/workflows/readme.yml | 22 ++++++++++++++++++++++ README.md | 9 +++++++++ 2 files changed, 31 insertions(+) create mode 100644 .github/workflows/readme.yml create mode 100644 README.md diff --git a/.github/workflows/readme.yml b/.github/workflows/readme.yml new file mode 100644 index 0000000..a67a194 --- /dev/null +++ b/.github/workflows/readme.yml @@ -0,0 +1,22 @@ +name: Lint README.md + +on: + push: + paths: + - 'README.md' # Trigger only when README.md is modified + branches: [main] # Trigger on pushes to the main branch + pull_request: + paths: + - 'README.md' # Trigger only when README.md is modified + branches: [main] # Also trigger on pull requests to main + +jobs: + lint: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 # Checkout the repository + - uses: actions/setup-node@v3 + with: + node-version: 16 # Use Node.js version 16 + - run: npm install -g markdownlint-cli # Install markdownlint-cli + - run: markdownlint README.md # Lint the README.md file diff --git a/README.md b/README.md new file mode 100644 index 0000000..8bcfa52 --- /dev/null +++ b/README.md @@ -0,0 +1,9 @@ +#Mastadon utils + +Some mastadon utilities + +## Latest build statuses + +| Workflow | Status | +|---|:---| +| Lint README.md | ![Lint README.md status badge](https://github.com/USERNAME/REPOSITORY/actions/workflows/readme.yml/badge.svg) | \ No newline at end of file From cc454b2d4b65f8b5ebec2fdb6ba14d8c4d18e473 Mon Sep 17 00:00:00 2001 From: Justin Dearing Date: Fri, 5 Jan 2024 20:55:38 -0500 Subject: [PATCH 2/3] Fix readme --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 8bcfa52..30e0f8e 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ -#Mastadon utils +# Mastadon utils -Some mastadon utilities +Some mastadon utilities I wrote ## Latest build statuses From 984cab46ac720aa49e3aa58d6f67fab9dc2d3da9 Mon Sep 17 00:00:00 2001 From: Justin Dearing Date: Fri, 5 Jan 2024 20:59:56 -0500 Subject: [PATCH 3/3] final --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 30e0f8e..49456d4 100644 --- a/README.md +++ b/README.md @@ -6,4 +6,4 @@ Some mastadon utilities I wrote | Workflow | Status | |---|:---| -| Lint README.md | ![Lint README.md status badge](https://github.com/USERNAME/REPOSITORY/actions/workflows/readme.yml/badge.svg) | \ No newline at end of file +| Lint README.md | ![Lint README.md status badge](https://github.com/USERNAME/REPOSITORY/actions/workflows/readme.yml/badge.svg) |