🧹 Cache Cleanup - dvsa/des-workflow-actions GitHub Wiki
Description
This reusable workflow automates the cleanup of cached data associated with closed pull request branches in a GitHub repository.
Workflow Triggers
On Workflow Call
This workflow is called from other DES repositories when pull requests are closed.
Environment Variables
Name | Description |
---|---|
GH_TOKEN | GitHub token used for authentication |
Notes
- The workflow utilises the GitHub CLI extension for actions (gh-actions-cache) to interact with the GitHub API and manage cached data.
- It dynamically retrieves the repository name and the pull request branch for cache cleanup.