forked from cisco-en-programmability/catalystcenter-ansible
-
Notifications
You must be signed in to change notification settings - Fork 0
44 lines (39 loc) · 2 KB
/
Copy pathcertification.yml
File metadata and controls
44 lines (39 loc) · 2 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
---
name: Run collection certification checks
permissions:
contents: read
on:
pull_request:
branches: [main]
workflow_dispatch:
schedule:
- cron: "0 6 * * *"
concurrency:
group: cert-ver-${{ github.head_ref || github.run_id }}
cancel-in-progress: true
# Files that are not related to the core functionality
# of your collection can cause Ansible Lint to fail.
# If this happens, add a .ansible-lint file that includes
# those files and directories to the root of your
# repository; for example:
# https://github.com/ansible-collections/partner-certification-checker/blob/main/.ansible-lint
# If there are sanity test failures that cannot be fixed and are allowed to ignore
# https://docs.ansible.com/projects/lint/rules/sanity/, create a sanity ignore file
# https://docs.ansible.com/projects/ansible/devel/dev_guide/testing/sanity/ignores.html#ignore-file-location
# for each affected version of ansible-core (for example, `tests/sanity/ignore-2.18.txt`) and add corresponding entries.
jobs:
call:
uses: ansible-collections/partner-certification-checker/.github/workflows/certification-reusable.yml@v2.0.0 # zizmor: ignore[unpinned-uses]
# If the minimal Ansible Core version your collection supports Ansible
# is greater than 2.16.0, specify it below.
# You might also have to specify Python version supported by that version,
# see https://docs.ansible.com/projects/ansible/latest/reference_appendices/release_and_maintenance.html#ansible-core-support-matrix
# with:
# ansible-core-version: '2.17.0'
# python-versions: '["3.7", "3.8", "3.9", "3.10", "3.11", "3.12"]'
# collection-root: 'ansible_collections/junipernetworks/junos'
# automation-hub: true
# Uncomment the lines below if you have 'automation-hub: true' and need to install collections from Red Hat Ansible Automation Hub.
# This requires setting a repository secret called 'AH_TOKEN' which value contains a Red Hat Ansible Automation Hub token.
# secrets:
# AH_TOKEN: ${{ secrets.AH_TOKEN }}