Clean up packages in Github package registry #18
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
# Copyright Helio Chissini de Castro, 2023 | |
# | |
# This program and the accompanying materials are made | |
# available under the terms of the Eclipse Public License 2.0 | |
# which is available at https://www.eclipse.org/legal/epl-2.0/ | |
# | |
# SPDX-License-Identifier: EPL-2.0 | |
name: Clean up packages in Github package registry | |
on: | |
workflow_dispatch: | |
# Runs always Sunday Midnight | |
schedule: | |
- cron: "0 0 * * 0" | |
jobs: | |
clean_all: | |
name: Cleaning older packages | |
runs-on: ubuntu-22.04 | |
steps: | |
- name: Checkout default branch | |
uses: actions/checkout@v4 | |
- name: Clean up package registry | |
uses: ./.github/actions/clean_up_package_registry | |
with: | |
token: ${{ secrets.GITHUB_TOKEN }} | |
packages: |- | |
sw360 |