Skip to content

Commit

Permalink
fix(npm-publish): Do not require admin permissions
Browse files Browse the repository at this point in the history
One of the reasons why we have nextcloud-libraries was to restrict
permissions. So there is no reason only organization admins can publish.
This was a problem in the past for creating new releases.

Signed-off-by: Ferdinand Thiessen <[email protected]>
  • Loading branch information
susnux committed Jan 22, 2025
1 parent 6d69b03 commit b68467e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion workflow-templates/npm-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ jobs:
- name: Check actor permission level
uses: skjnldsv/check-actor-permission@69e92a3c4711150929bca9fcf34448c5bf5526e7 # v3.0
with:
require: admin
require: write

- name: Checkout
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
Expand Down

0 comments on commit b68467e

Please sign in to comment.