Add cleanup workflow
This commit is contained in:
		
							parent
							
								
									3aaec67422
								
							
						
					
					
						commit
						b78f798c9f
					
				
					 1 changed files with 20 additions and 0 deletions
				
			
		
							
								
								
									
										20
									
								
								.github/workflows/clean.yml
									
										
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										20
									
								
								.github/workflows/clean.yml
									
										
									
									
										vendored
									
									
										Normal file
									
								
							| 
						 | 
				
			
			@ -0,0 +1,20 @@
 | 
			
		|||
name: Cleanup
 | 
			
		||||
 | 
			
		||||
on:
 | 
			
		||||
  workflow_dispatch: ~
 | 
			
		||||
  schedule:
 | 
			
		||||
    - cron: '0 20 * * *'
 | 
			
		||||
 | 
			
		||||
jobs:
 | 
			
		||||
  cleanup:
 | 
			
		||||
    name: Cleanup
 | 
			
		||||
    runs-on: ubuntu-latest
 | 
			
		||||
    steps:
 | 
			
		||||
      - name: Cleanup
 | 
			
		||||
        uses: Chizkiyahu/delete-untagged-ghcr-action@v2
 | 
			
		||||
        with:
 | 
			
		||||
          token: ${{ github.token }}
 | 
			
		||||
          repository_owner: ${{ github.repository_owner }}
 | 
			
		||||
          repository: ${{ github.repository }}
 | 
			
		||||
          owner_type: user
 | 
			
		||||
          untagged_only: true
 | 
			
		||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue