aboutsummaryrefslogtreecommitdiffstats
path: root/.github
diff options
context:
space:
mode:
authorChristian Clason <c.clason@uni-graz.at>2024-09-10 10:20:29 +0200
committerChristian Clason <c.clason@uni-graz.at>2024-09-10 10:20:29 +0200
commitc436d45eeeeb78e5482cb28b59de1d7a77c93d86 (patch)
tree0b8b5fc1cc984c4b32c3dd97c7c3b2223945e6de /.github
parentci(update): bump create-pull-request to v7 and sign commits (diff)
downloadnvim-treesitter-c436d45eeeeb78e5482cb28b59de1d7a77c93d86.tar
nvim-treesitter-c436d45eeeeb78e5482cb28b59de1d7a77c93d86.tar.gz
nvim-treesitter-c436d45eeeeb78e5482cb28b59de1d7a77c93d86.tar.bz2
nvim-treesitter-c436d45eeeeb78e5482cb28b59de1d7a77c93d86.tar.lz
nvim-treesitter-c436d45eeeeb78e5482cb28b59de1d7a77c93d86.tar.xz
nvim-treesitter-c436d45eeeeb78e5482cb28b59de1d7a77c93d86.tar.zst
nvim-treesitter-c436d45eeeeb78e5482cb28b59de1d7a77c93d86.zip
Revert "ci(update): bump create-pull-request to v7 and sign commits"
This reverts commit c9003a3cb19280bc252e24bfb813027643016e5f.
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/update-lockfile.yml7
-rw-r--r--.github/workflows/update-readme.yml7
2 files changed, 6 insertions, 8 deletions
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