Skip to content

Commit 1f166b6

Browse files
authored
Add a GitHub Action with ansible-lint
1 parent 000faab commit 1f166b6

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

.github/main.workflow

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
workflow "On push" {
2+
on = "push"
3+
resolves = ["ansible/ansible-lint-action@master"]
4+
}
5+
6+
action "ansible/ansible-lint-action@master" {
7+
uses = "ansible/ansible-lint-action@master"
8+
env = {
9+
ACTION_PLAYBOOK_NAME = "ansible/install-apps.yml"
10+
}
11+
}
12+
13+
workflow "On PR" {
14+
on = "pull_request"
15+
resolves = ["ansible/ansible-lint-action@master"]
16+
}

0 commit comments

Comments
 (0)