forked from ansible-collections/ansible.netcommon
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[GHA] Update reference for GitHub actions (ansible-collections#619)
* [GHA] Update reference for GitHub actions * fix name * fix test-req * update test req * fix tests * on main only
- Loading branch information
1 parent
257b77e
commit 0005f92
Showing
10 changed files
with
47 additions
and
59 deletions.
There are no files selected for viewing
10 changes: 3 additions & 7 deletions
10
.github/workflows/ack.yml → .github/workflows/check_label.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,11 @@ | ||
--- | ||
# See https://github.com/ansible-community/devtools/blob/main/.github/workflows/ack.yml | ||
name: ack | ||
|
||
name: "Check label" | ||
concurrency: | ||
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} | ||
cancel-in-progress: true | ||
|
||
on: # yamllint disable-line rule:truthy | ||
pull_request_target: | ||
types: [opened, labeled, unlabeled, synchronize] | ||
|
||
jobs: | ||
ack: | ||
uses: ansible/devtools/.github/workflows/ack.yml@main | ||
check_label: | ||
uses: ansible/ansible-content-actions/.github/workflows/check_label.yaml@main |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
--- | ||
name: "Draft release" | ||
concurrency: | ||
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} | ||
cancel-in-progress: true | ||
on: # yamllint disable-line rule:truthy | ||
workflow_dispatch: | ||
env: | ||
NAMESPACE: ${{ github.repository_owner }} | ||
COLLECTION_NAME: netcommon | ||
ANSIBLE_COLLECTIONS_PATHS: ./ | ||
jobs: | ||
update_release_draft: | ||
uses: ansible/ansible-content-actions/.github/workflows/draft_release.yaml@main | ||
with: | ||
repo: ${{ github.event.pull_request.head.repo.full_name }} | ||
secrets: | ||
BOT_PAT: ${{ secrets.BOT_PAT }} |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,16 @@ | ||
# For ansible-tox-linters | ||
black==23.3.0 ; python_version > '3.7' | ||
black==23.3.0 | ||
flake8 | ||
yamllint | ||
|
||
# Unit test runner | ||
pytest-ansible ; python_version >= '3.7' | ||
git+https://github.com/ansible-community/pytest-ansible-units.git ; python_version < '3.7' | ||
pytest-ansible | ||
pytest-xdist | ||
pytest-cov | ||
|
||
# The following are 3rd party libs for cli_parse | ||
ntc_templates | ||
# 21.4 changed the output of an error message we check in tests | ||
pyats >= 21.4 ; python_version < '3.11' | ||
genie >= 21.4 ; python_version < '3.11' | ||
passlib |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
[ansible] | ||
skip = | ||
py3.7 | ||
py3.8 | ||
2.9 | ||
2.10 | ||
2.11 | ||
2.12 | ||
2.13 |