aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristian Clason <c.clason@uni-graz.at>2024-09-10 10:17:19 +0200
committernvim-treesitter-bot[bot] <157957100+nvim-treesitter-bot[bot]@users.noreply.github.com>2024-09-10 08:19:14 +0000
commitc9003a3cb19280bc252e24bfb813027643016e5f (patch)
tree0f83036bf7e4842bd3f6684a9c104c86661bf044
parentbot(lockfile): update elixir, gleam, lua, markdown, markdown_inline, perl, sc... (diff)
downloadnvim-treesitter-c9003a3cb19280bc252e24bfb813027643016e5f.tar
nvim-treesitter-c9003a3cb19280bc252e24bfb813027643016e5f.tar.gz
nvim-treesitter-c9003a3cb19280bc252e24bfb813027643016e5f.tar.bz2
nvim-treesitter-c9003a3cb19280bc252e24bfb813027643016e5f.tar.lz
nvim-treesitter-c9003a3cb19280bc252e24bfb813027643016e5f.tar.xz
nvim-treesitter-c9003a3cb19280bc252e24bfb813027643016e5f.tar.zst
nvim-treesitter-c9003a3cb19280bc252e24bfb813027643016e5f.zip
ci(update): bump create-pull-request to v7 and sign commits
-rw-r--r--.github/workflows/update-lockfile.yml7
-rw-r--r--.github/workflows/update-readme.yml7
2 files changed, 8 insertions, 6 deletions
diff --git a/.github/workflows/update-lockfile.yml b/.github/workflows/update-lockfile.yml
index b994622bf..1a38f8d38 100644
--- a/.github/workflows/update-lockfile.yml
+++ b/.github/workflows/update-lockfile.yml
@@ -42,10 +42,11 @@ jobs:
echo "UPDATED_PARSERS=$UPDATED_PARSERS" >> $GITHUB_ENV
- name: Create Pull Request
- uses: peter-evans/create-pull-request@v6
+ id: pr
+ uses: peter-evans/create-pull-request@v7
with:
token: ${{ steps.app-token.outputs.token }}
- author: "nvim-treesitter-bot[bot] <157957100+nvim-treesitter-bot[bot]@users.noreply.github.com>"
+ sign-commits: true
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)"
@@ -55,4 +56,4 @@ jobs:
- name: Enable Pull Request Automerge
env:
GH_TOKEN: ${{ steps.app-token.outputs.token }}
- run: gh pr merge --rebase --auto update-lockfile-pr
+ run: gh pr merge --rebase --auto ${{ steps.pr.outputs.pull-request-number }}
diff --git a/.github/workflows/update-readme.yml b/.github/workflows/update-readme.yml
index 44f10a425..6e5119f71 100644
--- a/.github/workflows/update-readme.yml
+++ b/.github/workflows/update-readme.yml
@@ -30,10 +30,11 @@ jobs:
nvim -l scripts/update-readme.lua || echo 'Needs update'
- name: Create Pull Request
- uses: peter-evans/create-pull-request@v6
+ id: pr
+ uses: peter-evans/create-pull-request@v7
with:
token: ${{ steps.app-token.outputs.token }}
- author: "nvim-treesitter-bot[bot] <157957100+nvim-treesitter-bot[bot]@users.noreply.github.com>"
+ sign-commits: true
commit-message: "bot(readme): update"
title: Update README
body: "[beep boop](https://github.com/peter-evans/create-pull-request)"
@@ -43,4 +44,4 @@ jobs:
- name: Enable Pull Request Automerge
env:
GH_TOKEN: ${{ steps.app-token.outputs.token }}
- run: gh pr merge --rebase --auto update-readme-pr
+ run: gh pr merge --rebase --auto ${{ steps.pr.outputs.pull-request-number }}