mirror of
https://github.com/nix-community/nixvim.git
synced 2025-06-21 00:25:42 +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 }}
|
||||
base_branch: ${{ github.ref_name }}
|
||||
pr_branch: update/${{ github.ref_name }}
|
||||
team: nix-community/nixvim
|
||||
|
||||
steps:
|
||||
- name: Checkout repository
|
||||
|
@ -192,17 +191,14 @@ jobs:
|
|||
if [[ -n "$pr_num" ]]; then
|
||||
echo "Editing existing PR #$pr_num"
|
||||
operation=updated
|
||||
gh pr edit "$pr_num" \
|
||||
--body "$body" \
|
||||
--add-reviewer "$team"
|
||||
gh pr edit "$pr_num" --body "$body"
|
||||
else
|
||||
echo "Creating new PR"
|
||||
operation=created
|
||||
gh pr create \
|
||||
--base "$base_branch" \
|
||||
--title "$title" \
|
||||
--body "$body" \
|
||||
--reviewer "$team"
|
||||
--body "$body"
|
||||
fi
|
||||
|
||||
pr_info=$(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue