Merge pull request 'Merge gitea-actions into main' (#1) from gitea-actions into main
Some checks failed
ansible-lint / Ansible Lint (push) Failing after 10s
Some checks failed
ansible-lint / Ansible Lint (push) Failing after 10s
Failed successfully. Reviewed-on: #1
This commit is contained in:
commit
c900fefb03
20
.gitea/workflows/ansible-lint.yaml
Normal file
20
.gitea/workflows/ansible-lint.yaml
Normal file
@ -0,0 +1,20 @@
|
|||||||
|
name: ansible-lint
|
||||||
|
on: [push, pull_request]
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
build:
|
||||||
|
name: Ansible Lint # Naming the build is important to use it as a status check
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
|
steps:
|
||||||
|
# Important: This sets up your GITHUB_WORKSPACE environment variable
|
||||||
|
- uses: actions/checkout@v3
|
||||||
|
with:
|
||||||
|
fetch-depth: 0 # needed for progressive mode to work
|
||||||
|
|
||||||
|
- name: Run ansible-lint
|
||||||
|
# replace `main` with any valid ref, or tags like `v6`
|
||||||
|
uses: https://github.com/ansible/ansible-lint-action@main
|
||||||
|
# optional:
|
||||||
|
# with:
|
||||||
|
# path: "playbooks/" # <-- only one value is allowed
|
Loading…
Reference in New Issue
Block a user