homeserver/.gitea/workflows/ansible-lint.yaml

23 lines
499 B
YAML
Raw Normal View History

name: ansible-lint
on:
push:
branches: [ master ]
pull_request:
jobs:
ansible-lint:
2024-09-13 17:59:58 +02:00
runs-on: ubuntu-latest
2024-09-13 18:05:48 +02:00
container: registry.mgrote.net/ansible-devspace:latest
2024-09-13 17:59:58 +02:00
steps:
- name: Checkout code
chore(deps): update actions/checkout action to v4 (#167) This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [actions/checkout](https://github.com/actions/checkout) | action | major | `v3` -> `v4` | --- > ⚠️ **Warning** > > Some dependencies could not be looked up. Check the Dependency Dashboard for more information. --- ### Release Notes <details> <summary>actions/checkout (actions/checkout)</summary> ### [`v4`](https://github.com/actions/checkout/blob/HEAD/CHANGELOG.md#v417) [Compare Source](https://github.com/actions/checkout/compare/v3...v4) - Bump the minor-npm-dependencies group across 1 directory with 4 updates by [@&#8203;dependabot](https://github.com/dependabot) in https://github.com/actions/checkout/pull/1739 - Bump actions/checkout from 3 to 4 by [@&#8203;dependabot](https://github.com/dependabot) in https://github.com/actions/checkout/pull/1697 - Check out other refs/\* by commit by [@&#8203;orhantoy](https://github.com/orhantoy) in https://github.com/actions/checkout/pull/1774 - Pin actions/checkout's own workflows to a known, good, stable version. by [@&#8203;jww3](https://github.com/jww3) in https://github.com/actions/checkout/pull/1776 </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR is behind base branch, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOC41MS4wIiwidXBkYXRlZEluVmVyIjoiMzguNTEuMCIsInRhcmdldEJyYW5jaCI6Im1hc3RlciIsImxhYmVscyI6W119--> Reviewed-on: https://git.mgrote.net/mg/homeserver/pulls/167 Co-authored-by: Renovate Bot <renovate@mgrote.net> Co-committed-by: Renovate Bot <renovate@mgrote.net>
2024-08-23 14:06:31 +02:00
uses: actions/checkout@v4
- name: write vault-pass
run: echo ${{ secrets.VAULTPASS }} > ./vault-pass
2024-09-13 17:59:58 +02:00
- name: Run ansible-lint
2024-09-13 18:05:48 +02:00
run: ansible-lint --force-color --format pep8 --show-relpath
# VAULTPASS ist als Secrets auf Repo-Ebene angelegt