mirror of
https://github.com/nix-community/nixvim.git
synced 2025-06-21 08:35:43 +02:00
ci/update: don't request review on the PR
@github-actions[bot] doesn't have access to nix-community teams, so it can't request @nix-community/nixvim review the PR.
This commit is contained in:
parent
f028201847
commit
f9904d22df
1 changed files with 2 additions and 6 deletions
8
.github/workflows/update.yml
vendored
8
.github/workflows/update.yml
vendored
|
@ -39,7 +39,6 @@ jobs:
|
||||||
repo: ${{ github.repository }}
|
repo: ${{ github.repository }}
|
||||||
base_branch: ${{ github.ref_name }}
|
base_branch: ${{ github.ref_name }}
|
||||||
pr_branch: update/${{ github.ref_name }}
|
pr_branch: update/${{ github.ref_name }}
|
||||||
team: nix-community/nixvim
|
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout repository
|
- name: Checkout repository
|
||||||
|
@ -192,17 +191,14 @@ jobs:
|
||||||
if [[ -n "$pr_num" ]]; then
|
if [[ -n "$pr_num" ]]; then
|
||||||
echo "Editing existing PR #$pr_num"
|
echo "Editing existing PR #$pr_num"
|
||||||
operation=updated
|
operation=updated
|
||||||
gh pr edit "$pr_num" \
|
gh pr edit "$pr_num" --body "$body"
|
||||||
--body "$body" \
|
|
||||||
--add-reviewer "$team"
|
|
||||||
else
|
else
|
||||||
echo "Creating new PR"
|
echo "Creating new PR"
|
||||||
operation=created
|
operation=created
|
||||||
gh pr create \
|
gh pr create \
|
||||||
--base "$base_branch" \
|
--base "$base_branch" \
|
||||||
--title "$title" \
|
--title "$title" \
|
||||||
--body "$body" \
|
--body "$body"
|
||||||
--reviewer "$team"
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
pr_info=$(
|
pr_info=$(
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue