Skip to content

Allow projects to verify their actions usage #482

@snazy

Description

@snazy

When authoring GH workflows, people may add new or change action references (uses:).
Also dependabot and Renovate change action references.

If the workflows/jobs/steps are not run when such an action reference is added or changed, either by humans or bots, those are not validated against the set of allowed actions.

It would be nice for ASF projects to be able to validate their workflow files before a change is being merged, as part of their usual CI jobs.

I can imagine, that a workflow in the apache/infrastructure-actions could provide the necessary logic to check all uses: against the allowed actions. That workflow could then be called, via workflow_call, from projects' workflows, so those do not need to copy any code.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions