[Rpm-maint] [rpm-software-management/rpm] Fix missing GITHUB_TOKEN permission setting (PR #3590)

Michal Domonkos notifications at github.com
Thu Feb 20 12:06:09 UTC 2025


Commit 3ff9f13b4644145083ded06b26cd874fe507f5cc didn't specify any permissions for the GITHUB_TOKEN so it used the project's default read-only permissions, preventing the "gh release upload" command from working.  Fix by specifying the right permissions (for modifying releases, see [1]).

[1] https://docs.github.com/en/actions/writing-workflows/choosing-what-your-workflow-does/controlling-permissions-for-github_token
You can view, comment on, or merge this pull request online at:

  https://github.com/rpm-software-management/rpm/pull/3590

-- Commit Summary --

  * Fix missing GITHUB_TOKEN permission setting

-- File Changes --

    M .github/workflows/artifact.yml (4)

-- Patch Links --

https://github.com/rpm-software-management/rpm/pull/3590.patch
https://github.com/rpm-software-management/rpm/pull/3590.diff

-- 
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/pull/3590
You are receiving this because you are subscribed to this thread.

Message ID: <rpm-software-management/rpm/pull/3590 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20250220/25bc4c6d/attachment.htm>


More information about the Rpm-maint mailing list