Skip to content

Commit 6f20486

Browse files
authored
Add support for Dependabot (#60)
1 parent f9f15e5 commit 6f20486

File tree

6 files changed

+22
-9
lines changed

6 files changed

+22
-9
lines changed

.github/dependabot.yml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
---
2+
version: 2
3+
updates:
4+
- package-ecosystem: "github-actions"
5+
directory: "/"
6+
schedule:
7+
interval: "daily"
8+
- package-ecosystem: "pip"
9+
directory: "/.github/workflows"
10+
schedule:
11+
interval: "daily"

.github/workflows/galaxy.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
python-version: 3.x
1919

2020
- name: Install Ansible
21-
run: pip3 install ansible-base==2.10.3
21+
run: pip3 install -r .github/workflows/requirements_galaxy.txt
2222

2323
- name: Import release to Ansible Galaxy
2424
run: ansible-galaxy role import --api-key ${{ secrets.GALAXY_API_KEY }} $(echo ${{ github.repository }} | cut -d/ -f1) $(echo ${{ github.repository }} | cut -d/ -f2)

.github/workflows/molecule.yml

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -35,13 +35,7 @@ jobs:
3535

3636
- name: Install Molecule dependencies
3737
if: "!(matrix.scenario == 'plus' && github.event.pull_request.head.repo.full_name != github.repository)"
38-
run: |
39-
pip3 install ansible-base==2.10.4
40-
pip3 install ansible==2.10.5
41-
pip3 install ansible-lint==4.3.7
42-
pip3 install yamllint==1.25.0
43-
pip3 install "molecule[docker]"==3.2.2
44-
pip3 install docker==4.4.1
38+
run: pip3 install -r .github/workflows/requirements_molecule.txt
4539

4640
- name: Run Molecule tests
4741
if: "!(matrix.scenario == 'plus' && github.event.pull_request.head.repo.full_name != github.repository)"
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
ansible-base==2.10.4
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
ansible-base==2.10.4
2+
ansible==2.10.5
3+
ansible-lint==4.3.7
4+
yamllint==1.25.0
5+
molecule[docker]==3.2.2
6+
docker==4.4.1

CHANGELOG.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,8 @@
44

55
FEATURES:
66

7-
Add support for configuration snippets.
7+
* Add support for configuration snippets.
8+
* Add support for Dependabot.
89

910
ENHANCEMENTS:
1011

0 commit comments

Comments
 (0)