Skip to content

feat(auth): add AuthGuard, role-based protection and secure routing w… #22

feat(auth): add AuthGuard, role-based protection and secure routing w…

feat(auth): add AuthGuard, role-based protection and secure routing w… #22

# .github/workflows/registry-pr-purge.yaml
name: Purge Pull Request Image
# https://docs.github.com/en/actions/reference/events-that-trigger-workflows#registry_package
# Purge Pull Request Image
on:
pull_request:
types: [closed]
jobs:
purge_pr_image:
runs-on: ubuntu-latest
steps:
- name: Purge Pull Request Image
uses: vlaurin/[email protected]
with:
token: ${{ secrets.GHCR_TOKEN}}
organization: ${{ github.repository_owner}}
container: ${{ github.event.repository.name }}
prune-tags-regexes: pr-${{github.event.pull_request.number}}$