From a53a77f61d278b7fabcb54df829fe183af59f0b4 Mon Sep 17 00:00:00 2001 From: Bruno Paz <184563+brpaz@users.noreply.github.com> Date: Fri, 6 Sep 2024 21:42:07 +0100 Subject: [PATCH] fix ci --- .github/workflows/main.yml | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index fd9565d..ffcae86 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -3,12 +3,18 @@ name: CI on: push: branches: + - master - main pull_request: branches: + - master - main workflow_dispatch: +concurrency: + group: ${{ github.workflow }}-${{ github.ref }} + cancel-in-progress: true + jobs: lint: name: Lint @@ -24,9 +30,7 @@ jobs: python-version: 3.x # Use the desired Python version - name: Install Dependencies - run: | - python3 -m venv .venv && source .venv/bin/activate - pip install -r requirements.txt + run: pip install -r requirements.txt - name: Run Ansible Lint run: ansible-lint playbooks/setup.yml roles