Merge pull request #1138 from berndfinger/issue-1137-rework-tags-for-… #16
This file contains hidden or 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
| --- | |
| name: Ansible Lint - sap_general_preconfigure | |
| on: | |
| push: | |
| branches: | |
| - main | |
| - dev | |
| paths: | |
| - 'roles/sap_general_preconfigure/**' | |
| pull_request: | |
| branches: | |
| - main | |
| - dev | |
| paths: | |
| - 'roles/sap_general_preconfigure/**' | |
| workflow_dispatch: | |
| jobs: | |
| ansible-lint: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v5 | |
| # Use @v25 to automatically track the latest release from the year 2025. | |
| # ansible-lint uses Calendar Versioning (e.g., v25.9.0 -> YYYY.MM.PATCH). | |
| # Avoid using @main, which can introduce breaking changes unexpectedly. | |
| - uses: ansible/ansible-lint@v25 | |
| with: | |
| # v25.7.0 no longer uses 'working_directory' and role path is set in 'args'. | |
| # Role specific .ansible-lint can be added with argument '-c'. | |
| args: roles/sap_general_preconfigure | |
| # Use the shared requirements file from the collection root for dependency context. | |
| requirements_file: ./requirements.yml |