Skip to content

Commit

Permalink
Create cleanup.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
thebentern authored Nov 3, 2022
1 parent 53058d0 commit d8fa590
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions .github/workflows/cleanup.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
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 }}

0 comments on commit d8fa590

Please sign in to comment.