Skip to content

Commit 37452d1

Browse files
synleclaude
andcommitted
Add cleanup-pr-artifacts workflow to delete artifacts on PR close
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent 2728ad0 commit 37452d1

1 file changed

Lines changed: 18 additions & 0 deletions

File tree

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
name: cleanup-pr-artifacts
2+
3+
on:
4+
pull_request:
5+
types: [closed]
6+
7+
concurrency:
8+
group: ${{ github.workflow }}-${{ github.ref }}
9+
cancel-in-progress: true
10+
11+
jobs:
12+
cleanup:
13+
# https://github.com/synle/gha-workflows/blob/main/.github/workflows/cleanup-pr-artifacts.yml
14+
uses: synle/gha-workflows/.github/workflows/cleanup-pr-artifacts.yml@main
15+
permissions:
16+
actions: write
17+
with:
18+
delete-runs: false

0 commit comments

Comments
 (0)