From 5e08d21d04fc2b8adf0cba471b96b271a865f2c6 Mon Sep 17 00:00:00 2001 From: "paul.profizi" Date: Mon, 15 Jan 2024 09:43:41 +0100 Subject: [PATCH] Move pyansys doc style action to docs.yml Signed-off-by: paul.profizi --- .github/workflows/docs-style.yml | 23 ----------------------- .github/workflows/docs.yml | 6 +++--- 2 files changed, 3 insertions(+), 26 deletions(-) delete mode 100644 .github/workflows/docs-style.yml diff --git a/.github/workflows/docs-style.yml b/.github/workflows/docs-style.yml deleted file mode 100644 index 1e90b277c8..0000000000 --- a/.github/workflows/docs-style.yml +++ /dev/null @@ -1,23 +0,0 @@ -# Check documentation with Vale -name: Documentation Style Check - -on: - workflow_call: - inputs: - vale_reporter: - description: "Vale reporter to use" - required: false - type: string - default: 'local' - workflow_dispatch: - -jobs: - docs-style: - name: Documentation Style Check - runs-on: ubuntu-latest - steps: - - name: "Running documentation style checks" - uses: ansys/actions/doc-style@v5.0 - with: - token: ${{ secrets.GITHUB_TOKEN }} - vale-config: "docs/.vale.ini" diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index 5eafe6b1ec..704654c2ef 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -49,10 +49,10 @@ env: jobs: doc-style: name: "Check doc style" - uses: ./.github/workflows/docs-style.yml + uses: ansys/actions/doc-style@v5.0 with: - vale_reporter: ${{ (inputs.event_name == 'pull_request') && 'github-check' || 'local' }} - secrets: inherit + token: ${{ secrets.GITHUB_TOKEN }} + vale-config: "docs/.vale.ini" docs: name: "Documentation"