Skip to content

Create cleanup.yml #141

Create cleanup.yml

Create cleanup.yml #141

Workflow file for this run

name: Cleanup PR artifacts
on:
push:
branches: [ "device" ]
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Run a multi-line script
run: |
find pr -type f -mtime +60 -delete
- name: Commit & Push changes
uses: Andro999b/[email protected]
with:
github_token: ${{ secrets.GITHUB_TOKEN }}