Skip to content

Update dependency laravel/passport to v12.3.1 #242

Update dependency laravel/passport to v12.3.1

Update dependency laravel/passport to v12.3.1 #242

Workflow file for this run

---
name: Remove Caches
on:
pull_request:
types:
- closed
jobs:
cleanup:
runs-on: ubuntu-24.04
steps:
- name: Remove Caches
run: |
set -x
gh extension install actions/gh-actions-cache
echo "Fetching list of cache keys"
cacheKeysForPR=$(gh actions-cache list -R ${{ github.repository }} -B refs/pull/${{ github.event.pull_request.number }}/merge -L 100 | cut -f 1 )
## Setting this to not fail the workflow while deleting cache keys.
set +e
echo "Deleting caches..."
for cacheKey in $cacheKeysForPR
do
gh actions-cache delete $cacheKey -R $REPO -B $BRANCH --confirm
done
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}