Skip to content

[as-1069] Add asdf and pre-commit caches - #8

Merged
kevin-dimichel merged 6 commits into
mainfrom
kevin/as-1069-asdf-pre-commit-cache
Feb 7, 2026
Merged

kevin-dimichel merged 6 commits into
mainfrom
kevin/as-1069-asdf-pre-commit-cache

Conversation

@kevin-dimichel

@kevin-dimichel kevin-dimichel commented Jan 22, 2026 •

Copy link
Copy Markdown
Contributor

Rationale

Aloha would like to speed up our pre-commit and asdf PR checks through caches.

In https://github.com/voxel51/aloha-github-workflows/pull/52 we added two new custom actions for pre-commit and asdf to leverage GitHub caches.

Review Priority

  • high
  • medium
  • low

Changes

  • Add a new workflow where on push to the default branch (after PR merges), a cache is generated (which will be used in future Pull Requests when hash of config files is matching)
    • .github/workflows/cache-default-branch.yml
  • .github/workflows/asdf-dependabot-update.yml
    • Rename existing steps to summarize actions
    • Add conditional to skip the update-asdf job when matrix is empty ('[]')
  • Update existing use(s) of asdf action to use custom action (with cache)
  • PR template
    • Include priority

It appears that pre-commit was never running (successfully) locally or via actions. This PR includes file fixes and pre-commit config tuning.

Testing

See PR check.

…cache on merge to main (to speed up installs).

chore(workflows): update names of asdf-dependabot-update workflow steps.

chore(pr-template): add priority to rationale.

chore(workflows): replace existing usage of asdf install to use new action (with cache for speedups).
@kevin-dimichel
kevin-dimichel requested a review from a team as a code owner January 22, 2026 17:27
@kevin-dimichel kevin-dimichel added the priority-low Low Priority PR - review today label Jan 22, 2026
@mo-getter

Copy link
Copy Markdown

@kevin-dimichel , I haven't looked much into it, but is this check expected to fail?

@kevin-dimichel

Copy link
Copy Markdown
Contributor Author

@mo-getter - No. This and other public repos are failing. I'm working on a fix.

@kevin-dimichel
kevin-dimichel marked this pull request as draft January 30, 2026 18:03
@kevin-dimichel
kevin-dimichel marked this pull request as ready for review February 5, 2026 21:58
@kevin-dimichel

Copy link
Copy Markdown
Contributor Author

@mo-getter - The fix is in!!

@mo-getter mo-getter self-assigned this Feb 5, 2026

@mo-getter mo-getter left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice workaround for the GitHub limitation--very clever!

Looks good--just one thing about package.json since this is the plugin skeleton we recommend to the community.

Comment thread plugins/skeleton/package.json Resolved

@mo-getter mo-getter left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚀

@kevin-dimichel
kevin-dimichel merged commit b16565e into main Feb 7, 2026
1 check passed
@kevin-dimichel
kevin-dimichel deleted the kevin/as-1069-asdf-pre-commit-cache branch October 30, 2026 21:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

priority-low Low Priority PR - review today

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants