Remove delete

This commit is contained in:
Joel Wachsler 2022-07-11 01:21:39 +02:00
parent be2bb2e21b
commit 0be4d82e62

View File

@ -38,21 +38,20 @@ jobs:
cargo set-version --workspace ${{ steps.vars.outputs.result }}
cargo generate-lockfile
# - name: Commit files
# run: |
# git config --local user.email "github-actions[bot]@users.noreply.github.com"
# git config --local user.name "github-actions[bot]"
# git commit -am "Create release ${{ steps.vars.outputs.result }}"
- name: Commit files
run: |
git config --local user.email "github-actions[bot]@users.noreply.github.com"
git config --local user.name "github-actions[bot]"
git commit -am "Create release ${{ steps.vars.outputs.result }}"
# - name: Push changes
# uses: ad-m/github-push-action@master
# with:
# github_token: ${{ secrets.GITHUB_TOKEN }}
# branch: ${{ github.ref }}
- name: Push changes
uses: ad-m/github-push-action@master
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
branch: ${{ github.ref }}
- name: Create Pull Request
uses: peter-evans/create-pull-request@v4
with:
token: ${{ secrets.GITHUB_TOKEN }}
branch: ${{ github.ref }}
delete-branch: true
branch: ${{ github.ref }}