add arg-spec for new variable ssh_server_service_enabled #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
--- | |
name: create roles readme | |
on: # yamllint disable-line rule:truthy | |
push: | |
branches: [master] | |
paths: | |
- 'roles/**/meta/argument_specs.yml' | |
- 'roles/**/meta/main.yml' | |
pull_request: | |
branches: [master] | |
paths: | |
- 'roles/**/meta/argument_specs.yml' | |
- 'roles/**/meta/main.yml' | |
jobs: | |
readme: | |
name: create roles readme | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
roles: | |
- mysql_hardening | |
- nginx_hardening | |
- os_hardening | |
- ssh_hardening | |
steps: | |
- name: Check out code | |
uses: actions/checkout@v4 | |
- name: Set up Python | |
uses: actions/setup-python@v5 | |
with: | |
python-version: 3.12 | |
- name: Install aar_doc | |
run: pip3 install aar_doc | |
- name: Run aar_doc | |
run: aar_doc roles/${{ matrix.roles }} markdown | |
- name: Output diff | |
run: git diff roles/${{ matrix.roles }}/README.md | |
- name: Push README | |
if: github.event_name != 'pull_request' | |
uses: github-actions-x/[email protected] | |
with: | |
github-token: ${{ secrets.GITHUB_TOKEN }} | |
commit-message: 'update ${{ matrix.roles }} readme' | |
files: roles/${{ matrix.roles }}/README.md | |
rebase: true | |
name: dev-sec CI | |
email: [email protected] |