From c84a781c00fa5602b02de07be7774e8d1c2be72f Mon Sep 17 00:00:00 2001 From: Pavel Popov Date: Mon, 21 Feb 2022 17:13:17 +0300 Subject: [PATCH] Add Vality starter workflow with basic linters --- .github/workflow-templates/vality-icon.svg | 7 +++++++ .../valitydev-basic-linters.properties.json | 5 +++++ .../valitydev-basic-linters.yml | 17 +++++++++++++++++ 3 files changed, 29 insertions(+) create mode 100644 .github/workflow-templates/vality-icon.svg create mode 100644 .github/workflow-templates/valitydev-basic-linters.properties.json create mode 100644 .github/workflow-templates/valitydev-basic-linters.yml diff --git a/.github/workflow-templates/vality-icon.svg b/.github/workflow-templates/vality-icon.svg new file mode 100644 index 0000000..a44b74d --- /dev/null +++ b/.github/workflow-templates/vality-icon.svg @@ -0,0 +1,7 @@ + + + diff --git a/.github/workflow-templates/valitydev-basic-linters.properties.json b/.github/workflow-templates/valitydev-basic-linters.properties.json new file mode 100644 index 0000000..353a3ca --- /dev/null +++ b/.github/workflow-templates/valitydev-basic-linters.properties.json @@ -0,0 +1,5 @@ +{ + "name": "Vality basic linters", + "description": "Vality starter workflow with basic linters.", + "iconName": "vality-icon" +} diff --git a/.github/workflow-templates/valitydev-basic-linters.yml b/.github/workflow-templates/valitydev-basic-linters.yml new file mode 100644 index 0000000..dee7eba --- /dev/null +++ b/.github/workflow-templates/valitydev-basic-linters.yml @@ -0,0 +1,17 @@ +name: Vality basic linters + +on: + pull_request: + branches: [ $default-branch ] + +jobs: + yamllint: + name: yamllint + runs-on: ubuntu-latest + steps: + - name: ⤵️ Check out code from GitHub + uses: actions/checkout@v2 + - name: 🚀 Run yamllint + uses: frenck/action-yamllint@v1 + with: + warnings: false