Compare commits

..

1 Commits

Author SHA1 Message Date
Alessandro Sebastiani
19e6650b0d
Merge 585e29dc174015388d80a4dd096ea156ce20f2f2 into 36f1e144e1c8edb0a652766b484448563d8baf46 2025-02-11 22:18:27 +00:00

View File

@ -48,16 +48,10 @@ on:
pull_request:
types:
- closed
workflow_dispatch:
jobs:
cleanup:
runs-on: ubuntu-latest
permissions:
# `actions:write` permission is required to delete caches
# See also: https://docs.github.com/en/rest/actions/cache?apiVersion=2022-11-28#delete-a-github-actions-cache-for-a-repository-using-a-cache-id
actions: write
contents: read
steps:
- name: Cleanup
run: |
@ -76,6 +70,10 @@ jobs:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GH_REPO: ${{ github.repository }}
BRANCH: refs/pull/${{ github.event.pull_request.number }}/merge
done
echo "Done"
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
```
</details>