From c436d45eeeeb78e5482cb28b59de1d7a77c93d86 Mon Sep 17 00:00:00 2001 From: Christian Clason Date: Tue, 10 Sep 2024 10:20:29 +0200 Subject: Revert "ci(update): bump create-pull-request to v7 and sign commits" This reverts commit c9003a3cb19280bc252e24bfb813027643016e5f. --- .github/workflows/update-lockfile.yml | 7 +++---- .github/workflows/update-readme.yml | 7 +++---- 2 files changed, 6 insertions(+), 8 deletions(-) (limited to '.github/workflows') diff --git a/.github/workflows/update-lockfile.yml b/.github/workflows/update-lockfile.yml index 1a38f8d38..b994622bf 100644 --- a/.github/workflows/update-lockfile.yml +++ b/.github/workflows/update-lockfile.yml @@ -42,11 +42,10 @@ jobs: echo "UPDATED_PARSERS=$UPDATED_PARSERS" >> $GITHUB_ENV - name: Create Pull Request - id: pr - uses: peter-evans/create-pull-request@v7 + uses: peter-evans/create-pull-request@v6 with: token: ${{ steps.app-token.outputs.token }} - sign-commits: true + author: "nvim-treesitter-bot[bot] <157957100+nvim-treesitter-bot[bot]@users.noreply.github.com>" commit-message: "bot(lockfile): update ${{ env.UPDATED_PARSERS }}" title: "Update lockfile.json: ${{ env.UPDATED_PARSERS }}" body: "[beep boop](https://github.com/peter-evans/create-pull-request)" @@ -56,4 +55,4 @@ jobs: - name: Enable Pull Request Automerge env: GH_TOKEN: ${{ steps.app-token.outputs.token }} - run: gh pr merge --rebase --auto ${{ steps.pr.outputs.pull-request-number }} + run: gh pr merge --rebase --auto update-lockfile-pr diff --git a/.github/workflows/update-readme.yml b/.github/workflows/update-readme.yml index 6e5119f71..44f10a425 100644 --- a/.github/workflows/update-readme.yml +++ b/.github/workflows/update-readme.yml @@ -30,11 +30,10 @@ jobs: nvim -l scripts/update-readme.lua || echo 'Needs update' - name: Create Pull Request - id: pr - uses: peter-evans/create-pull-request@v7 + uses: peter-evans/create-pull-request@v6 with: token: ${{ steps.app-token.outputs.token }} - sign-commits: true + author: "nvim-treesitter-bot[bot] <157957100+nvim-treesitter-bot[bot]@users.noreply.github.com>" commit-message: "bot(readme): update" title: Update README body: "[beep boop](https://github.com/peter-evans/create-pull-request)" @@ -44,4 +43,4 @@ jobs: - name: Enable Pull Request Automerge env: GH_TOKEN: ${{ steps.app-token.outputs.token }} - run: gh pr merge --rebase --auto ${{ steps.pr.outputs.pull-request-number }} + run: gh pr merge --rebase --auto update-readme-pr -- cgit v1.2.3-70-g09d2