Skip to content

ci: cut duplicated and redundant work - #177

Merged
Mearman merged 2 commits into
mainfrom
ci/dedupe-work
Nov 3, 2026
Merged

Mearman merged 2 commits into
mainfrom
ci/dedupe-work

Conversation

@Mearman

@Mearman Mearman commented Nov 3, 2026

Copy link
Copy Markdown
Member

Drops the apt installs of shellcheck and yamllint (both ship on the ubuntu-latest image), builds the collection once instead of twice and uses the image's ansible-core for the build job, merges the commit and title lints into one job, pins actionlint, and skips the CI run on a push to main whose tree already passed as its pull request. Pushes to main were 29 of the last 100 CI runs. Draft until the jobs are green on this branch, in particular collection-build without the apt Ansible.

shellcheck and yamllint come with the ubuntu-latest image, so their
jobs no longer install them.
The collection is built once, in the build job, which also checks the
tarball ships what the roles need. That job uses the image's
ansible-core instead of installing the Ansible package.
The commit and pull request title lints share one job, one checkout
and one npm install.
actionlint is fetched at a pinned version.
A push to main whose tree equals the tree of the pull request it
merged, and whose pull request passed Required Checks on that head,
would run the same files again.
The run is skipped only on that explicit match, and any failure to
decide runs the full set.
@Mearman
Mearman marked this pull request as ready for review November 3, 2026 00:48
@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
🔒 Security Review ⚠️ Failed 2026-11-03T00:48:04.922979Z
We couldn’t complete this review. Comment @codex security review to try again.
175d1b6 Draft marked ready
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@chatgpt-codex-connector

Copy link
Copy Markdown

This security review couldn’t start because the paying account has exhausted its Codex allowance and has insufficient available credits. The payer can check their balance and add credits in the Codex usage dashboard, then try again. If you do not manage the paying account, contact this repository's admins.

@Mearman
Mearman merged commit 0a722a1 into main Nov 3, 2026
14 checks passed
@Mearman
Mearman deleted the ci/dedupe-work branch November 3, 2026 00:48
@github-actions

github-actions Bot commented Nov 3, 2026

Copy link
Copy Markdown

🎉 This PR is included in version 2.21.1 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant