Skip to content

Commit

Permalink
fixed clean up script
Browse files Browse the repository at this point in the history
  • Loading branch information
liplum committed Dec 27, 2023
1 parent f8e0b21 commit ac3af0c
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions .github/workflows/CleanUpTemplate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ on:
- master
jobs:
template-cleanup:
permissions:
contents: write
name: Template Cleanup
runs-on: ubuntu-latest
if: github.event.repository.full_name != 'liplum/MindustryModTemplate'
Expand All @@ -31,9 +33,4 @@ jobs:
git config --local user.name "GitHub Action"
git add .
git commit -m "Template cleanup"
# Push changes
- name: Push changes
uses: ad-m/github-push-action@master
with:
branch: master
github_token: ${{ secrets.GITHUB_TOKEN }}
git push

0 comments on commit ac3af0c

Please sign in to comment.