From c7a902f549b2935c73f506130dfb9e493a249a9a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Viktor=20Sz=C3=A9pe?= Date: Thu, 18 Jul 2024 23:20:14 +0200 Subject: [PATCH] Check workflows MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Viktor Szépe --- .github/workflows/workflow.yml | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 .github/workflows/workflow.yml diff --git a/.github/workflows/workflow.yml b/.github/workflows/workflow.yml new file mode 100644 index 00000000..cf89dc8d --- /dev/null +++ b/.github/workflows/workflow.yml @@ -0,0 +1,31 @@ +# yaml-language-server: $schema=https://json.schemastore.org/github-workflow + +name: "Workflow" + +on: # yamllint disable-line rule:truthy + pull_request: null + push: + branches: + - "main" + workflow_call: null + +permissions: {} # yamllint disable-line rule:braces + +concurrency: + group: "${{ github.workflow }}-${{ github.ref }}" + cancel-in-progress: true + +jobs: + actionlint: + name: "Actionlint" + runs-on: "ubuntu-22.04" + timeout-minutes: 1 + steps: + - + name: "Checkout repository" + uses: "actions/checkout@v4.1.5" + - + name: "Analyze workflow files" + uses: "docker://rhysd/actionlint:1.7.1" + with: + args: "-color -verbose -shellcheck="