This repository has been archived by the owner on Oct 27, 2024. It is now read-only.
Bump peter-evans/create-pull-request from 6 to 7 #144
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
name: Cleanup | |
on: | |
push: | |
branches: | |
- main | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: "Set up JDK 11" | |
uses: actions/setup-java@v4 | |
with: | |
distribution: 'adopt' | |
java-version: 11 | |
cache: sbt | |
- name: Cleanup Sources | |
run: ./scripts/dev/cleanup.sh | |
- name: Create Pull Request if necessary | |
uses: peter-evans/create-pull-request@v7 | |
with: | |
branch: auto-cleanup | |
title: Cleanup | |
commit-message: cleanup sources | |
body: Looks like someone forgot to run some commands before committing. I did it for them :) | |
delete-branch: true |