Skip to content

Merge pull request #1215 from marcelmamula/hana-fix #34

Merge pull request #1215 from marcelmamula/hana-fix

Merge pull request #1215 from marcelmamula/hana-fix #34

---
name: Ansible Lint - sap_hana_preconfigure
on:
push:
branches:
- main
- dev
paths:
- 'roles/sap_hana_preconfigure/**'
pull_request:
branches:
- main
- dev
paths:
- 'roles/sap_hana_preconfigure/**'
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_hana_preconfigure
# Use the shared requirements file from the collection root for dependency context.
requirements_file: ./requirements.yml