Add Dependabot to Galaxy workflow (#359)

This commit is contained in:
Alessandro Fael Garcia 2021-01-21 14:22:04 +01:00 committed by GitHub
parent 3ad13e2641
commit 3f107d6179
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 6 additions and 4 deletions

View File

@ -7,7 +7,7 @@ on:
jobs:
galaxy:
name: Galaxy
runs-on: ubuntu-latest
runs-on: ubuntu-20.04
steps:
- name: Check out the codebase
uses: actions/checkout@v2
@ -18,7 +18,7 @@ jobs:
python-version: 3.x
- name: Install Ansible
run: pip3 install ansible-base==2.10.3
run: pip3 install -r .github/workflows/requirements_galaxy.txt
- name: Import release to Ansible Galaxy
run: ansible-galaxy role import --api-key ${{ secrets.GALAXY_API_KEY }} $(echo ${{ github.repository }} | cut -d/ -f1) $(echo ${{ github.repository }} | cut -d/ -f2)

View File

@ -14,7 +14,7 @@ on:
jobs:
molecule:
name: Molecule
runs-on: ubuntu-latest
runs-on: ubuntu-20.04
strategy:
matrix:
scenario:
@ -43,7 +43,7 @@ jobs:
- name: Install Molecule dependencies
if: "!(contains(matrix.scenario, 'plus') && github.event.pull_request.head.repo.full_name != github.repository)"
run: pip3 install -r .github/workflows/requirements.txt
run: pip3 install -r .github/workflows/requirements_molecule.txt
- name: Run Molecule tests
if: "!(contains(matrix.scenario, 'plus') && github.event.pull_request.head.repo.full_name != github.repository)"

View File

@ -0,0 +1 @@
ansible-base==2.10.4

View File

@ -9,6 +9,7 @@ Add support for Dependabot.
ENHANCEMENTS:
* Only run GitHub actions Galaxy CI/CD workflow when a new release is published.
* Specify GitHub actions Ubuntu release.
* Update list of supported platforms.
## 0.19.1 (January 11, 2021)