Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* added a readme plus actions * Fix readme * final
- Loading branch information
Showing
2 changed files
with
31 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
# Mastadon utils | ||
|
||
Some mastadon utilities I wrote | ||
|
||
## Latest build statuses | ||
|
||
| Workflow | Status | | ||
|---|:---| | ||
| Lint README.md | ![Lint README.md status badge](https://github.com/USERNAME/REPOSITORY/actions/workflows/readme.yml/badge.svg) | |