Skip to content

Track Composite Action Pins in Dependabot for the Hub and the Catalog Snippet #2852

Closed

Description

@ptr727

Problem

Pins inside the hub's composite actions under .github/actions/* are not covered by Dependabot, and they lag the workflow pins of the same action.

  • .github/dependabot.yml declares the github-actions ecosystem with directory: "/" only, for both main and develop. The catalog reference catalog/snippets/configs/dependabot.yml:46-64 does the same. Dependabot scans /.github/workflows for that directory, and a composite action in a subdirectory of .github/actions needs its directory listed (or a directories glob).
  • Evidence of the lag, all astral-sh/setup-uv:
    • .github/workflows/validate-task.yml:296 and :595, and .github/workflows/test-pull-request.yml:47: c18668ad... # v10.2.0.
    • .github/actions/pypi-build-default/action.yml:39: c771a70e... # v9.0.0.
    • .github/actions/validate/action.yml:21: 08807647... # v8.1.0.

Impact

Composite-action pins go stale with no pull request, and the repo gate's pin check only verifies that a SHA is present, not that it is current. A downstream repo that carries its own composite action (a validate or install-test-deps hook) copying the catalog snippet inherits the same blind spot.

Suggested fix

List the composite action directories in the hub's .github/dependabot.yml and in the catalog snippet, using directories: ["/", "/.github/actions/*"] for each github-actions entry, and note in the snippet that a repo with hook actions needs the second glob.

Found while: adopting validate-task.yml in ptr727/homeassistant-purpleair

🤖 Generated with Claude Code

Activity

  1. added
    github_actions
    on Oct 11, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    github_actions

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions