name: Ansible Lint  # feel free to pick your own name

on: [push, pull_request]

jobs:
  lint:

    runs-on: ubuntu-latest
    env:
      ANSIBLE_VAULT_PASSWORD: ${{ secrets.VaultPassword }}
    steps:
    # Important: This sets up your GITHUB_WORKSPACE environment variable
    - uses: actions/checkout@v2

    - name: Lint Ansible Playbook
      uses: ansible/ansible-lint-action@master
      with:
        targets: |
            "playbook.yml"
        override-deps: |
          ansible==2.10
          ansible-lint==4.*
          rich>=10.0.0,<11.0.0

name: Ansible Lint  # feel free to pick your own name

on: [push, pull_request]

jobs:
  lint:

    runs-on: ubuntu-latest
    env:
      ANSIBLE_VAULT_PASSWORD: ${{ secrets.VaultPassword }}
    steps:
    # Important: This sets up your GITHUB_WORKSPACE environment variable
    - uses: actions/checkout@v2

    - name: Lint Ansible Playbook
      uses: ansible/ansible-lint-action@main
      with:
        targets: |
            "playbook.yml"
        override-deps: |
          ansible==2.10
          ansible-lint==4.*
          rich>=10.0.0,<11.0.0

Change master to main branch
Change master to main branch
