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