Merge pull request #13489 from OSGeo/dependabot/github_actions/covera… #4359
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: Delete untagged containers | |
| on: | |
| push: | |
| paths-ignore: | |
| - 'doc/**' | |
| - 'docker/**' | |
| branches-ignore: | |
| - 'backport**' | |
| - 'dependabot**' | |
| permissions: | |
| contents: read | |
| jobs: | |
| delete-untagged-containers: | |
| name: Delete all containers from gdal-deps without tags | |
| runs-on: ubuntu-latest | |
| if: github.repository == 'OSGeo/gdal' | |
| steps: | |
| - name: Delete all containers from gdal-deps without tags | |
| uses: Chizkiyahu/delete-untagged-ghcr-action@68758dd8caf1d9dbaed1fe9cc1a1f8fcea1c4cf0 # v6.1.0 | |
| with: | |
| token: ${{ secrets.PAT_TOKEN_DELETE_UNTAGGED_CONTAINERS }} | |
| repository_owner: ${{ github.repository_owner }} | |
| repository: ${{ github.repository }} | |
| package_name: gdal-deps | |
| untagged_only: true | |
| owner_type: org |