Skip to content

Commit abf16a0

Browse files
abikouoQalthos
authored andcommitted
minor code review updates
1 parent ee15322 commit abf16a0

File tree

10 files changed

+9
-13
lines changed

10 files changed

+9
-13
lines changed

.github/actions/checkout_dependency/action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ description: |
44
inputs:
55
repository:
66
description: "Repository name with owner. For example, ansible-collections/cloud.common"
7-
required: true
7+
default: ${{ github.repository }}
88
ref:
99
description: "The default branch, tag or SHA to checkout if no reference (using depends-on) is found"
1010
path:

.github/workflows/ansible-lint.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,6 @@ jobs:
66
ansible-lint:
77
runs-on: ubuntu-latest
88
steps:
9-
- uses: actions/checkout@v3
9+
- uses: ansible-network/github_actions/.github/actions/checkout_dependency@main
1010
- name: Run ansible-lint
1111
uses: ansible-community/ansible-lint-action@main

.github/workflows/coverage_network_devices.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
name: "Code Coverage | Python 3.10"
1919
steps:
2020
- name: Checkout the collection repository
21-
uses: actions/checkout@v3
21+
uses: ansible-network/github_actions/.github/actions/checkout_dependency@main
2222
with:
2323
path: ${{ env.source_directory }}
2424
ref: ${{ github.event.pull_request.head.sha }}

.github/workflows/integration.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ jobs:
5454
name: "py${{ matrix.python-version }} / ${{ matrix.ansible-version }} / ${{ matrix.dependency-source }}"
5555
steps:
5656
- name: Checkout the collection repository
57-
uses: actions/checkout@v3
57+
uses: ansible-network/github_actions/.github/actions/checkout_dependency@main
5858
with:
5959
path: ${{ env.source_directory }}
6060
ref: ${{ github.event.pull_request.head.sha }}

.github/workflows/integration_simple.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ jobs:
8787
name: "py${{ matrix.python-version }} / ${{ matrix.ansible-version }}"
8888
steps:
8989
- name: Checkout the collection repository
90-
uses: actions/checkout@v3
90+
uses: ansible-network/github_actions/.github/actions/checkout_dependency@main
9191
with:
9292
path: ${{ env.source_directory }}
9393
ref: ${{ github.event.pull_request.head.sha }}

.github/workflows/sanity.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ jobs:
118118
name: "py${{ matrix.python-version }} / ${{ matrix.os }} / ${{ matrix.ansible-version }}"
119119
steps:
120120
- name: Checkout the collection repository
121-
uses: actions/checkout@v3
121+
uses: ansible-network/github_actions/.github/actions/checkout_dependency@main
122122
with:
123123
path: ${{ env.source_directory }}
124124
ref: ${{ github.event.pull_request.head.sha }}

.github/workflows/unit_galaxy.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ jobs:
118118
name: "py${{ matrix.python-version }} / ${{ matrix.os }} / ${{ matrix.ansible-version }}"
119119
steps:
120120
- name: Checkout the collection repository
121-
uses: actions/checkout@v3
121+
uses: ansible-network/github_actions/.github/actions/checkout_dependency@main
122122
with:
123123
path: ${{ env.source_directory }}
124124
ref: ${{ github.event.pull_request.head.sha }}

.github/workflows/unit_source.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ jobs:
6464
name: "py${{ matrix.python-version }} / ${{ matrix.ansible-version }}"
6565
steps:
6666
- name: Checkout the collection repository
67-
uses: actions/checkout@v3
67+
uses: ansible-network/github_actions/.github/actions/checkout_dependency@main
6868
with:
6969
path: ${{ env.source_directory }}
7070
ref: ${{ github.event.pull_request.head.sha }}

.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Byte-compiled / optimized / DLL files
2-
*__pycache__/
2+
__pycache__/
33
*.py[cod]
44
*$py.class
55

setup.cfg

Lines changed: 0 additions & 4 deletions
This file was deleted.

0 commit comments

Comments
 (0)