From e304a378453cbf39aa671cf528e08536b457aa4f Mon Sep 17 00:00:00 2001 From: Patrik Svensson Date: Tue, 14 Nov 2023 23:16:44 +0100 Subject: [PATCH] Add schema to GitHub Actions --- .github/workflows/ci.yaml | 1 + .github/workflows/publish.yaml | 5 +++-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 8a314e1..74d3a91 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -1,3 +1,4 @@ +# yaml-language-server: $schema=https://json.schemastore.org/github-workflow.json name: Continuous Integration on: pull_request diff --git a/.github/workflows/publish.yaml b/.github/workflows/publish.yaml index 794cc7c..43d7baa 100644 --- a/.github/workflows/publish.yaml +++ b/.github/workflows/publish.yaml @@ -1,3 +1,4 @@ +# yaml-language-server: $schema=https://json.schemastore.org/github-workflow.json name: Publish on: @@ -16,11 +17,11 @@ env: jobs: ################################################### - # BUILD + # PUBLISH ################################################### build: - name: Build + name: Publish if: "!contains(github.event.head_commit.message, 'skip-ci')" runs-on: ubuntu-latest steps: