generated from bcgov/quickstart-openshift
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
d603825
commit 5d2b0ba
Showing
3 changed files
with
32 additions
and
28 deletions.
There are no files selected for viewing
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
name: PR Closed | ||
|
||
on: | ||
pull_request: | ||
branches: [main] | ||
types: [closed] | ||
|
||
concurrency: | ||
# PR open and close use the same group, allowing only one at a time | ||
group: pr-${{ github.workflow }}-${{ github.event.number }} | ||
cancel-in-progress: true | ||
|
||
jobs: | ||
ghcr-cleanup: | ||
runs-on: ubuntu-22.04 | ||
strategy: | ||
matrix: | ||
package: [bitnami/postgresql, postgres/postgres] | ||
steps: | ||
- uses: actions/delete-package-versions@v4 | ||
with: | ||
package-name: ${{ github.event.repository.name }}/${{ matrix.package }} | ||
package-type: 'container' | ||
min-versions-to-keep: 50 | ||
delete-only-untagged-versions: 'true' |
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