Skip to content

Commit

Permalink
Adding config and .github workflows
Browse files Browse the repository at this point in the history
Signed-off-by: Danielle Barda <dbarda@redhat.com>
  • Loading branch information
bardielle committed Feb 13, 2024
1 parent 9d77ffa commit 85a8c25
Show file tree
Hide file tree
Showing 10 changed files with 106 additions and 327 deletions.
5 changes: 5 additions & 0 deletions .config/ansible-lint.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
profile: production
strict: true
skip_list:
- ignore-errors # Use failed_when and specify error conditions instead of using ignore_errors.
292 changes: 0 additions & 292 deletions .github/workflows/ansible-test.yml

This file was deleted.

22 changes: 22 additions & 0 deletions .github/workflows/changelog.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
---
name: Changelog

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

on:
pull_request:
types:
- opened
- reopened
- labeled
- unlabeled
- synchronize
branches:
- main
- stable-*

jobs:
changelog:
uses: ansible-network/github_actions/.github/workflows/changelog.yml@main
34 changes: 0 additions & 34 deletions .github/workflows/extra-docs-linting.yml

This file was deleted.

15 changes: 15 additions & 0 deletions .github/workflows/galaxy-import.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
name: Galaxy import

concurrency:
group: ${{ github.head_ref }}
cancel-in-progress: true

on:
pull_request:
branches:
- main
- stable-*

jobs:
galaxy-import:
uses: ansible-network/github_actions/.github/workflows/galaxy_importer.yml@main
24 changes: 24 additions & 0 deletions .github/workflows/linters.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
---
name: Linters

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

on:
pull_request:
branches:
- main
- stable-*

jobs:
ansible-lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4

- name: Run ansible-lint
uses: ansible/ansible-lint@v6.22.0

tox-linters:
uses: ansible-network/github_actions/.github/workflows/tox-linters.yml@main
Loading

0 comments on commit 85a8c25

Please sign in to comment.