https://github.com/pgolm/action-clean-workspace
https://github.com/pgolm/action-clean-workspace
Last synced: 7 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/pgolm/action-clean-workspace
- Owner: pgolm
- Created: 2021-11-18T12:54:22.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2021-11-19T10:12:16.000Z (over 4 years ago)
- Last Synced: 2025-01-23T06:32:33.971Z (over 1 year ago)
- Language: Dockerfile
- Size: 1.95 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## About
GitHub Action to clean `GITHUB_WORKSPACE` to avoid issues with files created by containers on self-hosted runners.
Related issues:
- https://github.com/actions/runner/issues/691
- https://github.com/actions/checkout/issues/211
## Usage
Add this action before `actions/checkout` to clean the workspace.
```
name: ci
on:
push:
branches: master
jobs:
test:
runs-on: self-hosted
steps:
- uses: pgolm/action-clean-workspace@v1
- uses: actions/checkout@v2
...
```