Skip to content

Clean caches for PR from a fork #9

Description

@redeboer

The ComPWA/action/clean-caches action currently does not have sufficient rights to clean caches for PR from a fork, see for example this log. Compare to this run, which was triggered after a PR from a branch.

Tracked by #186. Related: #185 proposes an organization-owned app, but cache cleanup does not need to wait for it or for #184. A trusted workflow triggered by closure of a fork PR can use the built-in token with Actions write permission, without checking out or executing PR code. Update the corresponding generated workflow in ComPWA/policy as part of the fix so regeneration preserves the behavior.

Activity

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

Metadata

Metadata

Assignees

Labels

✨ FeatureNew feature added to the package

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions