name: ansible-lint on: push: branches: [ master ] pull_request: # https://stackoverflow.com/questions/66335225/how-to-cancel-previous-runs-in-the-pr-when-you-push-new-commitsupdate-the-curre concurrency: group: ${{ github.workflow }}-${{ github.ref }} cancel-in-progress: true jobs: ansible-lint: runs-on: ubuntu-latest steps: - name: Checkout code uses: actions/checkout@v3 - name: write vault-pass run: echo ${{ secrets.VAULTPASS }} > ./vault-pass - name: run ansible-lint uses: docker://registry.mgrote.net/ansible-devspace:latest with: args: ansible-lint --force-color --format pep8 --show-relpath # VAULTPASS ist als Secrets auf Repo-Ebene angelegt