pre-commit tests #1739
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 workflow action will run pre-commit, which will execute ansible and yaml linting | |
# See .pre-commit-config.yaml for what hooks are executed | |
name: pre-commit tests | |
on: | |
pull_request: | |
push: | |
schedule: | |
- cron: "0 6 * * *" | |
jobs: | |
pre-commit_and_sanity: | |
uses: "redhat-cop/ansible_collections_tooling/.github/workflows/pre_commit_and_sanity.yml@main" | |
with: | |
collection_namespace: galaxy | |
collection_name: galaxy | |
collection_version: 1.1.1-devel | |
collection_repo: https://github.com/ansible/galaxy_collection | |
collection_dependencies: ansible.hub | |
... |