Add vars parameter to user_template and user modules #9
Workflow file for this run
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
--- | |
name: create roles readme | |
on: # yamllint disable-line rule:truthy | |
push: | |
branches: [main] | |
paths: | |
- 'roles/*/meta/argument_specs.yml' | |
- 'roles/*/meta/main.yml' | |
pull_request: | |
branches: [main] | |
paths: | |
- 'roles/*/meta/argument_specs.yml' | |
- 'roles/*/meta/main.yml' | |
jobs: | |
readme: | |
name: create roles readme | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check out code | |
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4 | |
- name: Set up Python | |
uses: actions/setup-python@0b93645e9fea7318ecaed2b359559ac225c90a2b # v5 | |
with: | |
python-version: 3.11 | |
- name: Install aar_doc | |
run: pip3 install aar_doc | |
- name: Run aar_doc | |
run: aar_doc --config-file .aar_doc.yml roles/ansible_icinga/ markdown | |
- name: Push README | |
if: github.event_name != 'pull_request' | |
uses: github-actions-x/commit@722d56b8968bf00ced78407bbe2ead81062d8baa # v2.9 | |
with: | |
github-token: ${{ secrets.GITHUB_TOKEN }} | |
commit-message: 'update readme' | |
files: README.md | |
rebase: true |