Skip to content

Clean up packages in Github package registry #1

Clean up packages in Github package registry

Clean up packages in Github package registry #1

# 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