Linting #31
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
--- | |
# Copyright (c) Ansible Project | |
# GNU General Public License v3.0+ (see LICENSES/GPL-3.0-or-later.txt or https://www.gnu.org/licenses/gpl-3.0.txt) | |
# SPDX-License-Identifier: GPL-3.0-or-later | |
name: Linting | |
'on': | |
push: | |
branches: [main] | |
pull_request: | |
branches: [main] | |
# Run once per week (Friday at 07:00 UTC) | |
schedule: | |
- cron: '0 7 * * 5' | |
jobs: | |
lint: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
persist-credentials: false | |
- name: Install yamllint | |
run: pip install yamllint | |
- name: Run yamllint | |
run: yamllint . |