summaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
authorNikolaos Boutalas <nikolaos@boutalas.me>2023-08-08 14:57:30 +0300
committerNikolaos Boutalas <nikolaos@boutalas.me>2023-08-08 15:02:47 +0300
commitbb94bc3f36c3cd26fb57775663408ed804de2b8f (patch)
tree78d81ed3c0d7ae679a242c8580da52b2491db76d /.github
parent3e3ec9c41beecdf119ea8e80dd6da5e5ab7adbde (diff)
Add Github workflows and dependabot integration
Diffstat (limited to '.github')
-rw-r--r--.github/dependabot.yml9
-rw-r--r--.github/workflows/ansible-lint.yml23
2 files changed, 32 insertions, 0 deletions
diff --git a/.github/dependabot.yml b/.github/dependabot.yml
new file mode 100644
index 0000000..618063e
--- /dev/null
+++ b/.github/dependabot.yml
@@ -0,0 +1,9 @@
+version: 2
+updates:
+ - package-ecosystem: "github-actions"
+ directory: "/"
+ schedule:
+ interval: weekly
+ labels:
+ - "dependencies"
+ - "skip-changelog"
diff --git a/.github/workflows/ansible-lint.yml b/.github/workflows/ansible-lint.yml
new file mode 100644
index 0000000..cc0913c
--- /dev/null
+++ b/.github/workflows/ansible-lint.yml
@@ -0,0 +1,23 @@
+name: ansible-lint
+on:
+ push:
+ branches:
+ - master
+ pull_request:
+ branches:
+ - master
+jobs:
+ build:
+ name: Ansible Lint
+ runs-on: ubuntu-latest
+ steps:
+ - name: Checkout code
+ uses: actions/checkout@v3
+ - name: Setup Python
+ uses: actions/setup-python@v4
+ - name: Install ansible-lint
+ run: |
+ python -m pip install --upgrade pip
+ pip install ansible-lint
+ - name: Run ansible-lint
+ run: ansible-lint .