mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-18 03:10:04 -04:00
ci(update): bump create-pull-request to v7 and sign commits
This commit is contained in:
parent
f8bbb820a8
commit
c9003a3cb1
2 changed files with 8 additions and 6 deletions
7
.github/workflows/update-lockfile.yml
vendored
7
.github/workflows/update-lockfile.yml
vendored
|
|
@ -42,10 +42,11 @@ jobs:
|
||||||
echo "UPDATED_PARSERS=$UPDATED_PARSERS" >> $GITHUB_ENV
|
echo "UPDATED_PARSERS=$UPDATED_PARSERS" >> $GITHUB_ENV
|
||||||
|
|
||||||
- name: Create Pull Request
|
- name: Create Pull Request
|
||||||
uses: peter-evans/create-pull-request@v6
|
id: pr
|
||||||
|
uses: peter-evans/create-pull-request@v7
|
||||||
with:
|
with:
|
||||||
token: ${{ steps.app-token.outputs.token }}
|
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 }}"
|
commit-message: "bot(lockfile): update ${{ env.UPDATED_PARSERS }}"
|
||||||
title: "Update lockfile.json: ${{ env.UPDATED_PARSERS }}"
|
title: "Update lockfile.json: ${{ env.UPDATED_PARSERS }}"
|
||||||
body: "[beep boop](https://github.com/peter-evans/create-pull-request)"
|
body: "[beep boop](https://github.com/peter-evans/create-pull-request)"
|
||||||
|
|
@ -55,4 +56,4 @@ jobs:
|
||||||
- name: Enable Pull Request Automerge
|
- name: Enable Pull Request Automerge
|
||||||
env:
|
env:
|
||||||
GH_TOKEN: ${{ steps.app-token.outputs.token }}
|
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 }}
|
||||||
|
|
|
||||||
7
.github/workflows/update-readme.yml
vendored
7
.github/workflows/update-readme.yml
vendored
|
|
@ -30,10 +30,11 @@ jobs:
|
||||||
nvim -l scripts/update-readme.lua || echo 'Needs update'
|
nvim -l scripts/update-readme.lua || echo 'Needs update'
|
||||||
|
|
||||||
- name: Create Pull Request
|
- name: Create Pull Request
|
||||||
uses: peter-evans/create-pull-request@v6
|
id: pr
|
||||||
|
uses: peter-evans/create-pull-request@v7
|
||||||
with:
|
with:
|
||||||
token: ${{ steps.app-token.outputs.token }}
|
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"
|
commit-message: "bot(readme): update"
|
||||||
title: Update README
|
title: Update README
|
||||||
body: "[beep boop](https://github.com/peter-evans/create-pull-request)"
|
body: "[beep boop](https://github.com/peter-evans/create-pull-request)"
|
||||||
|
|
@ -43,4 +44,4 @@ jobs:
|
||||||
- name: Enable Pull Request Automerge
|
- name: Enable Pull Request Automerge
|
||||||
env:
|
env:
|
||||||
GH_TOKEN: ${{ steps.app-token.outputs.token }}
|
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 }}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue