Skip to content

GitHub action to clean up the runner workspace via a post command to avoid dirty filesystem issues on self-hosted runners.

License

Notifications You must be signed in to change notification settings

visable-dev/gh-action-cleanup-workspace

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Cleanup GitHub Workspace Action

This GitHub action will clean up the runner workspace via a post command to avoid dirty filesystem issues on the self-hosted runners.

Open GitHub issues:

Example Usage

This GitHub action must be defined before the actions/checkout and the actions/cache to clean up the workspace.

name: Pull Request Pipeline

on:
  pull_request:
    branches:
      - main
jobs:
  test:
    runs-on: self-hosted
    steps:
      - uses: visable-dev/gh-action-cleanup-workspace@v1
      - uses: actions/checkout@v2
      - uses: actions/cache@v2
      ...

About

GitHub action to clean up the runner workspace via a post command to avoid dirty filesystem issues on self-hosted runners.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •