diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 24ee74f..9291c48 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -22,6 +22,7 @@ on: jobs: release: + if: github.actor != 'github-actions[bot]' runs-on: ubuntu-latest steps: @@ -69,6 +70,15 @@ jobs: jq --arg v "$VERSION" '.version = $v' manifest.json > manifest_tmp.json mv manifest_tmp.json manifest.json + + - name: Commit and push changes + run: | + git config --local user.email "action@github.com" + git config --local user.name "GitHub Action" + git add package.json manifest.json + git commit -m "Bump version to $VERSION" + git push + - name: Build the project run: npm run build