Skip to content

Commit

Permalink
ci: rename markdown ro remark (#420)
Browse files Browse the repository at this point in the history
Co-authored-by: Almanov Nikita <131481562+nikkeyl@users.noreply.github.com>
  • Loading branch information
github-actions[bot] and nikkeyl authored Aug 13, 2024
1 parent c5191ed commit 0d6c818
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/create-pull-request.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ jobs:
create-pull-request:
name: Create Pull Request

if: ${{ github.actor != 'dependabot[bot]' && github.event.pull_request.merged == false }}
if: ${{ github.actor != 'dependabot[bot]' }}

runs-on: ubuntu-latest
timeout-minutes: 10
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Markdown
name: Remark

on:
workflow_run:
Expand All @@ -9,13 +9,17 @@ on:
pull_request:
branches:
- main
paths:
- '**/*.md'
push:
branches:
- main
paths:
- '**/*.md'

jobs:
markdown:
name: Markdown
remark:
name: Remark

if: ${{ github.event.workflow_run.conclusion == 'success' }}

Expand Down
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
![Editorconfig](https://img.shields.io/github/actions/workflow/status/archoleat/repo-template/editorconfig.yaml?label=Editorconfig)
![Prettier](https://img.shields.io/github/actions/workflow/status/archoleat/repo-template/prettier.yaml?label=Prettier)
![ESLint](https://img.shields.io/github/actions/workflow/status/archoleat/repo-template/eslint.yaml?label=ESLint)
![Markdown](https://img.shields.io/github/actions/workflow/status/archoleat/repo-template/markdown.yaml?label=Markdown)
![Remark](https://img.shields.io/github/actions/workflow/status/archoleat/repo-template/remark.yaml?label=Remark)

## Table of Contents

Expand Down Expand Up @@ -152,7 +152,7 @@ This template includes ready-made solutions for integration with:
- `lint:md`: Runs **Remark** with the `--quiet` flag and
checks all **Markdown** files.

> Also runs with the [`markdown.yaml`](.github/workflows/markdown.yaml)
> Also runs with the [`remark.yaml`](.github/workflows/remark.yaml)
> workflow.
- `lint:ts`: Runs **ESLint** with the flag `--fix`
Expand Down Expand Up @@ -191,7 +191,7 @@ This template includes ready-made solutions for integration with:
- [`eslint.yaml`](.github/workflows/eslint.yaml):
Checks all **TypeScript** files with **ESLint**.

- [`markdown.yaml`](.github/workflows/markdown.yaml):
- [`remark.yaml`](.github/workflows/remark.yaml):
Checks all **Markdown** files with **Remark**.

- [`pre-commit.yaml`](.github/workflows/pre-commit.yaml):
Expand Down

0 comments on commit 0d6c818

Please sign in to comment.