Skip to content

Merge pull request #106 from tegonal/bugfix/extend-expiration #165

Merge pull request #106 from tegonal/bugfix/extend-expiration

Merge pull request #106 from tegonal/bugfix/extend-expiration #165

Workflow file for this run

#
# __ __
# / /____ ___ ____ ___ ___ _/ / This file is provided to you by https://github.com/tegonal/github-commons
# / __/ -_) _ `/ _ \/ _ \/ _ `/ / Copyright 2022 Tegonal Genossenschaft <[email protected]>
# \__/\__/\_, /\___/_//_/\_,_/_/ It is licensed under Creative Commons Zero v1.0 Universal
# /___/ Please report bugs and contribute back your improvements
#
# Version: v2.9.0-SNAPSHOT
###################################
#!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
# DO NOT MODIFY HERE BUT IN src/.github/workflows/cleanup.yml
#!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
name: Cleanup
on:
push:
branches:
- main
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Cleanup Sources
run: ./scripts/cleanup-on-push-to-main.sh
- name: Create Pull Request if necessary
uses: peter-evans/create-pull-request@v7
with:
branch: auto-cleanup
title: Auto Cleanup
commit-message: auto cleanup sources
body: Looks like someone forgot to run ./scripts/cleanup-on-push-to-main.sh before committing. I did it for them :)
delete-branch: true
token: ${{ secrets.AUTO_PR_TOKEN }}
push-to-fork: ${{ vars.AUTO_PR_FORK_NAME != '' && vars.AUTO_PR_FORK_NAME || secrets.AUTO_PR_FORK_NAME }}