Skip to content

Commit 9bc087e

Browse files
authored
Add support for Dependabot (#48)
1 parent 2b5c1e6 commit 9bc087e

File tree

6 files changed

+29
-9
lines changed

6 files changed

+29
-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: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22
name: Ansible Galaxy import
33
on:
44
release:
5+
types:
6+
- published
57
jobs:
68
galaxy:
79
name: Galaxy
@@ -16,7 +18,7 @@ jobs:
1618
python-version: 3.x
1719

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

2123
- name: Import release to Ansible Galaxy
22-
run: ansible-galaxy role import --api-key ${{ secrets.GALAXY_API_KEY }} $(echo ${{ github.repository }} | cut -d/ -f1) $(echo ${{ github.repository }} | cut -d/ -f2)
24+
run: ansible-galaxy role import --api-key ${{ secrets.GALAXY_API_KEY }} $(echo ${{ github.repository }} | cut -d/ -f1) $(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
@@ -33,13 +33,7 @@ jobs:
3333

3434
- name: Install Molecule dependencies
3535
if: github.event.pull_request.head.repo.full_name == github.repository
36-
run: |
37-
pip3 install ansible-base==2.10.4
38-
pip3 install ansible==2.10.5
39-
pip3 install ansible-lint==4.3.7
40-
pip3 install yamllint==1.25.0
41-
pip3 install "molecule[docker]"==3.2.2
42-
pip3 install docker==4.4.1
36+
run: pip3 install -r .github/workflows/requirements_molecule.txt
4337

4438
- name: Run Molecule tests
4539
if: 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: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
# Changelog
22

3+
## 0.4.3 (Unreleased)
4+
5+
FEATURES:
6+
7+
Add support for Dependabot.
8+
39
## 0.4.2 (January 11, 2021)
410

511
ENHANCEMENTS:

0 commit comments

Comments
 (0)