chore(ci): add CI workflow and Dependabot hardening#81
Open
t0kubetsu wants to merge 11 commits into
Open
Conversation
- CI runs inside containerised Debian/Python/Node images (not bare ubuntu-latest) - Dependabot enabled for package ecosystem + github-actions
dev branch has no pyproject.toml (Python package lives on feat/r42playbooks-generator). The previous single job failed with "does not appear to be a Python project". Now: - ansible-lint always runs on bundles/ - ruff+pytest only run when pyproject.toml exists (hashFiles guard)
Job-level hashFiles() evaluates before checkout so the workspace is always empty; replace with a step-level shell test writing to GITHUB_OUTPUT. Also drop --profile=production (incompatible with org conventions) and add .ansible-lint config with profile:basic.
…epo stubs ansible-lint 6.x rejects syntax-check in skip_list; stub the catalog and proxmox-controller roles with mock_roles so syntax-check passes without cross-repo checkouts.
…] + stub global_vm_ssh_name
Role lives in range42-catalog which is not checked out in CI; stub it so ansible-lint syntax-check passes.
da13c06 to
90d37d8
Compare
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Closes #80
Changes
.github/workflows/ci.yml— CI pipeline running in a containerised Debian/Python/Node image.github/dependabot.yml— automated dependency updatesTest plan