Skip to content

Clear Old Releases and Tags #7

Clear Old Releases and Tags

Clear Old Releases and Tags #7

Workflow file for this run

name: Clear Old Releases and Tags
on:
workflow_dispatch:
schedule:
- cron: '0 0 * * *'
jobs:
clear_old_releases_and_tags:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
token: ${{ secrets.MY_PAT }}
fetch-depth: 0
- name: Set up Git
run: |
git config --global user.name 'github-actions[bot]'
git config --global user.email 'github-actions[bot]@users.noreply.github.com'
- name: Run Cleanup Script
run: |
bash ./.github/scripts/cleanup.sh
shell: bash
env:
GH_TOKEN: ${{ secrets.MY_PAT }}