chore: revise workflows and documentation - #79
Open
burigolucas wants to merge 1 commit into
Open
Conversation
- added tier 1 workflow for ansible-lint in tolerant mode - added concurrency on all tier 1 workflows - extend documentation to explain reasoning for 2 phases workflows - enabled ci workflow in forks - enable pre-commit workflow in forks - use public container image in CI - document requirement of manual syncing tags in forks - automatically fetch tags from upstream - revise workflow triggers - upgrade actions/checkout to v6
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.
Description
This PR improves the fork contributor CI experience by introducing a two-tier workflow architecture and automating the full CI setup for forks.
Two-tier CI for PRs
ansible-lint.ymlworkflow that runs on all PRs (including forks) without requiring secrets or maintainer approval. It uses a new.ansible-lint-ciconfig that mocks private Red Hat collection modules and roles (redhat.openshift.k8s, ansible.controller.*, etc.), enabling lint feedback immediately for external contributors.AUTOMATION_HUB_TOKEN) continues to require maintainer approval for fork PRs, as before.pre-commit.ymlnow explicitly skips the ansible-lint hook (SKIP=ansible-lint) to avoid duplication with the dedicated Tier 1 workflow.Fork CI (
ci-fork.yml)AUTOMATION_HUB_TOKENconfigured as a fork repository secret.Trigger and workflow revisions
Other
test-requirements.txtto avoid a regression in tox 4.28+ that rejects env names like py313-2.18 (interprets the collection version as a Python version)..github/pull_request_template.md).CONTRIBUTING.mdwith a full explanation of the two-tier CI architecture and a step-by-step fork CI setup guide.Type of Change
Pull Request Title