From: the-maldridge <the-maldridge@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: Re: [PR PATCH] [Merged]: .github/workflows/: set token permissions
Date: Sun, 03 Jul 2022 02:46:17 +0200 [thread overview]
Message-ID: <20220703004617.jtABMcWlA2cOaPqXV-TShjiclKoW1_o0H13RE1cCFYM@z> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-37810@inbox.vuxu.org>
[-- Attachment #1: Type: text/plain, Size: 982 bytes --]
There's a merged pull request on the void-packages repository
.github/workflows/: set token permissions
https://github.com/void-linux/void-packages/pull/37810
Description:
<!-- Uncomment relevant sections and delete options which are not applicable -->
#### Testing the changes
- I tested the changes in this PR: **YES**
closes #37612
requires changing the default workflow permissions in the [repository settings](https://github.com/void-linux/void-packages/settings/actions) to:
![image](https://user-images.githubusercontent.com/5366828/177019958-8a12e227-b7a0-482b-a79f-722ff16be681.png)
The default permissions are read-only, which works fine for the build/PR CI workflow. Cycles needed write access to issues to create them if a cycle is detected. Stale needs write access to issues and pull requests, as is [documented upstream](https://github.com/actions/stale#recommended-permissions). This is safe because both those workflows should only run on master.
prev parent reply other threads:[~2022-07-03 0:46 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-07-03 0:27 [PR PATCH] " classabbyamp
2022-07-03 0:46 ` the-maldridge [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20220703004617.jtABMcWlA2cOaPqXV-TShjiclKoW1_o0H13RE1cCFYM@z \
--to=the-maldridge@users.noreply.github.com \
--cc=ml@inbox.vuxu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).