From 8e1911fa1740c4e387e829012d617f46348b5098 Mon Sep 17 00:00:00 2001 From: Igor Starovierov Date: Mon, 7 Oct 2024 11:50:25 +0000 Subject: [PATCH] fix --- .github/workflows/docs.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index 20034e8..c23e1a5 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -1,4 +1,4 @@ -name: autofix +name: docs on: workflow_call: pull_request: @@ -9,7 +9,7 @@ on: # - master jobs: - docs: + check: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 @@ -18,4 +18,4 @@ jobs: node-version: 20 - run: npm ci - run: npm run docs - - run: "git diff --exit-code README.md > /dev/null || echo fail: README.md is outdated, forget to run 'npm run docs'?" + - run: "git diff --exit-code README.md > /dev/null || (echo fail: README.md is outdated, forget to run 'npm run docs'? && false)"