From f1c3dbbca0bfee6691627f3b1a15feeb8536e5d9 Mon Sep 17 00:00:00 2001 From: Ismo Vuorinen Date: Fri, 7 Mar 2025 09:54:10 +0200 Subject: [PATCH] fix(ci): linting workflow fix --- .github/workflows/build-and-deploy.yml | 1 + .github/workflows/pr-lint.yml | 9 +++++++-- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build-and-deploy.yml b/.github/workflows/build-and-deploy.yml index ecf8697..cafa0a7 100644 --- a/.github/workflows/build-and-deploy.yml +++ b/.github/workflows/build-and-deploy.yml @@ -1,4 +1,5 @@ --- +# yaml-language-server: $schema=https://json.schemastore.org/github-workflow.json name: Build and Deploy Vue Application to Github Pages on: # Runs on pushes targeting the default branch diff --git a/.github/workflows/pr-lint.yml b/.github/workflows/pr-lint.yml index 8c72b9b..5f179ef 100644 --- a/.github/workflows/pr-lint.yml +++ b/.github/workflows/pr-lint.yml @@ -1,4 +1,5 @@ --- +# yaml-language-server: $schema=https://json.schemastore.org/github-workflow.json name: Lint Code Base env: @@ -13,9 +14,13 @@ permissions: read-all jobs: lint: + runs-on: ubuntu-latest + permissions: statuses: write contents: read packages: read - # https://github.com/ivuorinen/actions - uses: ivuorinen/actions/pr-lint@main + + steps: + # https://github.com/ivuorinen/actions + uses: ivuorinen/actions/pr-lint@main