diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 8b093bb..c2ad1b7 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -35,6 +35,14 @@ jobs: - run: npm audit signatures - run: npm run build + - name: Auto commit + run: | + git add . + git -c user.name='minify-bot' -c user.email='speed-highlight@protonmail.com' commit -m "Auto minify" || exit 0 + git push + env: + github-token: ${{ secrets.GITHUB_TOKEN }} + - name: Release run: npx semantic-release env: diff --git a/package.json b/package.json index bced2ce..24562ac 100644 --- a/package.json +++ b/package.json @@ -58,8 +58,8 @@ "plugins": [ "@semantic-release/commit-analyzer", "@semantic-release/release-notes-generator", - "@semantic-release/git", "@semantic-release/npm", + "@semantic-release/git", "@semantic-release/github" ] },