Skip to content

Commit 318529a

Browse files
authored
remove references to personnal repo and add galaxy importer job (#626)
1 parent 6d0a3af commit 318529a

File tree

2 files changed

+36
-6
lines changed

2 files changed

+36
-6
lines changed

.github/workflows/black.yml

+29-1
Original file line numberDiff line numberDiff line change
@@ -14,4 +14,32 @@ on:
1414

1515
jobs:
1616
format:
17-
uses: abikouo/github_actions/.github/workflows/black.yml@automate_changes_a
17+
runs-on: ubuntu-latest
18+
permissions:
19+
contents: write
20+
steps:
21+
- name: checkout fork repository
22+
uses: actions/checkout@v3
23+
with:
24+
repository: ${{ github.event.pull_request.head.repo.full_name }}
25+
ref: ${{ github.head_ref }}
26+
27+
- name: Set up Python
28+
uses: actions/setup-python@v4
29+
with:
30+
python-version: '3.9'
31+
32+
- name: Install required python librairies
33+
run: pip install tox
34+
shell: bash
35+
36+
- name: Run tox validation
37+
run: tox -e black -vv
38+
shell: bash
39+
40+
- name: commit and push changes
41+
id: commit
42+
uses: stefanzweifel/git-auto-commit-action@v4
43+
with:
44+
commit_message: 'automated changes - black formatting'
45+
file_pattern: '*.py'

.github/workflows/ci.yml

+7-5
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,10 @@ on:
2020
jobs:
2121
changelog:
2222
uses: ansible-network/github_actions/.github/workflows/changelog.yml@main
23+
galaxy_importer:
24+
uses: ansible-network/github_actions/.github/workflows/galaxy_importer.yml@main
2325
linters:
24-
uses: abikouo/github_actions/.github/workflows/tox-linters.yml@tox_linters
26+
uses: ansible-network/github_actions/.github/workflows/tox-linters.yml@main
2527
sanity:
2628
uses: ansible-network/github_actions/.github/workflows/sanity.yml@main
2729
with:
@@ -255,21 +257,21 @@ jobs:
255257

256258
- name: install kubernetes.core collection
257259
id: install-collection
258-
uses: abikouo/github_actions/.github/actions/build_install_collection@build_install_collection
260+
uses: ansible-network/github_actions/.github/actions/build_install_collection@main
259261
with:
260262
install_python_dependencies: true
261263
source_path: ${{ env.source }}
262264
if: steps.read-targets.outputs.ansible_test_targets != ''
263265

264266
- name: install cloud.common collection
265-
uses: abikouo/github_actions/.github/actions/build_install_collection@build_install_collection
267+
uses: ansible-network/github_actions/.github/actions/build_install_collection@main
266268
with:
267269
install_python_dependencies: true
268270
source_path: ${{ env.cloud_common }}
269271
if: steps.read-targets.outputs.ansible_test_targets != ''
270272

271273
- name: install ansible.posix collection
272-
uses: abikouo/github_actions/.github/actions/build_install_collection@build_install_collection
274+
uses: ansible-network/github_actions/.github/actions/build_install_collection@main
273275
with:
274276
install_python_dependencies: true
275277
source_path: ${{ env.ansible_posix }}
@@ -280,7 +282,7 @@ jobs:
280282
if: steps.read-targets.outputs.ansible_test_targets != ''
281283

282284
- name: Run integration tests
283-
uses: abikouo/github_actions/.github/actions/ansible_test_integration@ansible_test_integration_a
285+
uses: ansible-network/github_actions/.github/actions/ansible_test_integration@main
284286
with:
285287
collection_path: ${{ steps.install-collection.outputs.collection_path }}
286288
python_version: ${{ matrix.python-version }}

0 commit comments

Comments
 (0)