-
-
Notifications
You must be signed in to change notification settings - Fork 127
29 lines (24 loc) · 764 Bytes
/
Copy pathschedmainlint.yml
File metadata and controls
29 lines (24 loc) · 764 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
---
on:
schedule:
- cron: "0 5 * * */3"
name: Ansible Lint Main - Scheduled
permissions:
contents: read
jobs:
ansible-lint-main-scheduled:
runs-on: ubuntu-latest
steps:
- name: Harden Runner
uses: step-security/harden-runner@e14015d583714f6e62063499dc959a02595150a1 # v2.21.1
with:
egress-policy: audit
- name: Checkout repository
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
- name: Install system dependencies
run: |
sudo apt-get update
sudo apt-get --assume-yes --no-install-recommends install python3-pip
python3 -m pip install --user -U jmespath passlib
- name: Lint Ansible Playbook
uses: ./action-lint