Skip to content

Commit

Permalink
maintainance work (#30)
Browse files Browse the repository at this point in the history
  • Loading branch information
roverflow authored Jun 13, 2024
1 parent 6179149 commit 526b47e
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 44 deletions.
13 changes: 0 additions & 13 deletions .github/workflows/lint.yml

This file was deleted.

4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
---
name: Release

on: # yamllint disable-line rule:truthy
on: # yamllint disable-line rule:truthy
release:
types: [published]

jobs:
release_automation_hub:
uses: ansible/devtools/.github/workflows/release_ah.yml@main
uses: ansible/ansible-content-actions/.github/workflows/release_ah.yaml@main
with:
environment: ah
secrets:
Expand Down
41 changes: 12 additions & 29 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
name: CI
name: "CI"

concurrency:
group: ${{ github.head_ref || github.run_id }}
Expand All @@ -14,45 +14,28 @@ on: # yamllint disable-line rule:truthy

jobs:
changelog:
uses: ansible-network/github_actions/.github/workflows/changelog.yml@main
uses: ansible/ansible-content-actions/.github/workflows/changelog.yaml@main
if: github.event_name == 'pull_request'
build-import:
uses: ansible/ansible-content-actions/.github/workflows/build_import.yaml@main
ansible-lint:
uses: ansible/ansible-content-actions/.github/workflows/ansible_lint.yaml@main
sanity:
uses: ansible-network/github_actions/.github/workflows/sanity.yml@main
with:
matrix_include: "[]"
matrix_exclude: >-
[
{
"ansible-version": "stable-2.14",
"python-version": "3.12"
},
{
"ansible-version": "stable-2.15",
"python-version": "3.12"
},
{
"ansible-version": "stable-2.16",
"python-version": "3.9"
},
{
"ansible-version": "milestone",
"python-version": "3.9"
},
{
"ansible-version": "devel",
"python-version": "3.9"
},
]
uses: ansible/ansible-content-actions/.github/workflows/sanity.yaml@main
all_green:
if: ${{ always() }}
if: ${{ always() && (github.event_name != 'schedule') }}
needs:
- changelog
- sanity
- ansible-lint
- build-import
runs-on: ubuntu-latest
steps:
- run: >-
python -c "assert 'failure' not in
set([
'${{ needs.changelog.result }}',
'${{ needs.sanity.result }}',
'${{ needs.ansible-lint.result }}'
'${{ needs.build-import.result }}'
])"

0 comments on commit 526b47e

Please sign in to comment.