Repository navigation
fix(deps): update weekly-non-major-updates #7
Workflow file for this run
This file contains hidden or 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: On PR closed (delete pre-release image) | |
| on: | |
| pull_request: | |
| types: [closed] | |
| permissions: {} | |
| jobs: | |
| # Check name: `cleanup-image / cleanup` | |
| cleanup-image: | |
| # PRs from forks have no image | |
| if: github.event.pull_request.head.repo.full_name == github.repository | |
| uses: Aam-Digital/.github/.github/workflows/image-cleanup.yml@v1 | |
| permissions: | |
| actions: write # cancel a still running PR image build, which would otherwise push pr-<n> after the cleanup | |
| packages: write # the package is linked to this repository, so the job token can delete its versions | |
| with: | |
| build-workflows: pr-release.yml |