Merge pull request #1215 from marcelmamula/hana-fix #18
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_install_media_detect | |
| on: | |
| push: | |
| branches: | |
| - main | |
| - dev | |
| paths: | |
| - 'roles/sap_install_media_detect/**' | |
| pull_request: | |
| branches: | |
| - main | |
| - dev | |
| paths: | |
| - 'roles/sap_install_media_detect/**' | |
| workflow_dispatch: | |
| jobs: | |
| ansible-lint: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v5 | |
| # Use @vXX to automatically track the latest release from the year 20XX. Example: @v26 for 2026. | |
| # ansible-lint uses Calendar Versioning (e.g., v26.0.0 -> YYYY.MM.PATCH). | |
| # Avoid using @main, which can introduce breaking changes unexpectedly. | |
| - uses: ansible/ansible-lint@v26 | |
| 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_install_media_detect | |
| # Use the shared requirements file from the collection root for dependency context. | |
| requirements_file: ./requirements.yml |