mirror of
https://github.com/nix-community/nixvim.git
synced 2025-11-08 19:46:06 +01:00
ci/update-maintainers: drop issues:write permission
We requested this permission to be able to create new labels, when labelling the PR. However that is not necessary here, because a) we don't apply any labels and b) if we did we could create them manually. Our app installation doesn't have `issues:write`, so requesting it was causing the workflow to fail.
This commit is contained in:
parent
63496f00c6
commit
4316f24a67
1 changed files with 0 additions and 3 deletions
3
.github/workflows/update-maintainers.yml
vendored
3
.github/workflows/update-maintainers.yml
vendored
|
|
@ -24,11 +24,9 @@ jobs:
|
||||||
# Permissions required for workflow
|
# Permissions required for workflow
|
||||||
# `contents`: to update maintainers file
|
# `contents`: to update maintainers file
|
||||||
# `pull-requests`: to create pr
|
# `pull-requests`: to create pr
|
||||||
# `issues`: to label pr
|
|
||||||
permissions:
|
permissions:
|
||||||
contents: write
|
contents: write
|
||||||
pull-requests: write
|
pull-requests: write
|
||||||
issues: write
|
|
||||||
env:
|
env:
|
||||||
pr_branch: update/maintainers-${{ github.ref_name }}
|
pr_branch: update/maintainers-${{ github.ref_name }}
|
||||||
steps:
|
steps:
|
||||||
|
|
@ -41,7 +39,6 @@ jobs:
|
||||||
private-key: ${{ secrets.CI_APP_PRIVATE_KEY }}
|
private-key: ${{ secrets.CI_APP_PRIVATE_KEY }}
|
||||||
permission-contents: write
|
permission-contents: write
|
||||||
permission-pull-requests: write
|
permission-pull-requests: write
|
||||||
permission-issues: write
|
|
||||||
|
|
||||||
- name: Get GitHub App user info
|
- name: Get GitHub App user info
|
||||||
id: user-info
|
id: user-info
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue