Skip to content

Commit 3f107d6

Browse files
authored
Add Dependabot to Galaxy workflow (#359)
1 parent 3ad13e2 commit 3f107d6

File tree

5 files changed

+6
-4
lines changed

5 files changed

+6
-4
lines changed

.github/workflows/galaxy.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ on:
77
jobs:
88
galaxy:
99
name: Galaxy
10-
runs-on: ubuntu-latest
10+
runs-on: ubuntu-20.04
1111
steps:
1212
- name: Check out the codebase
1313
uses: actions/checkout@v2
@@ -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: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ on:
1414
jobs:
1515
molecule:
1616
name: Molecule
17-
runs-on: ubuntu-latest
17+
runs-on: ubuntu-20.04
1818
strategy:
1919
matrix:
2020
scenario:
@@ -43,7 +43,7 @@ jobs:
4343

4444
- name: Install Molecule dependencies
4545
if: "!(contains(matrix.scenario, 'plus') && github.event.pull_request.head.repo.full_name != github.repository)"
46-
run: pip3 install -r .github/workflows/requirements.txt
46+
run: pip3 install -r .github/workflows/requirements_molecule.txt
4747

4848
- name: Run Molecule tests
4949
if: "!(contains(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

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ Add support for Dependabot.
99
ENHANCEMENTS:
1010

1111
* Only run GitHub actions Galaxy CI/CD workflow when a new release is published.
12+
* Specify GitHub actions Ubuntu release.
1213
* Update list of supported platforms.
1314

1415
## 0.19.1 (January 11, 2021)

0 commit comments

Comments
 (0)