[Snyk] Fix for 1 vulnerabilities #66
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: "Cache Cleanup - Automatic" | |
on: | |
pull_request: | |
types: | |
- closed | |
defaults: | |
run: | |
shell: bash | |
jobs: | |
cache-purge: | |
name: "Purge Actions cache" | |
runs-on: ubuntu-latest | |
steps: | |
- name: "Delete Branch Cache Action" | |
uses: snnaplab/delete-branch-cache-action@v1.0.0 | |
with: | |
# Specify explicitly because the ref at the time of merging will be a branch name such as 'main', 'develop' | |
ref: refs/pull/${{ github.event.number }}/merge | |
github-token: ${{ secrets.GITHUB_TOKEN }} |