From: dmarto <dmarto@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: Re: .github/workflows: disable scheduled cron jobs on forks
Date: Mon, 30 May 2022 22:22:46 +0200 [thread overview]
Message-ID: <20220530202246.KxIpNfALHDsep9Guo7qNyQQsh-iraxhP5XItRRR9O5I@z> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-37339@inbox.vuxu.org>
[-- Attachment #1: Type: text/plain, Size: 1031 bytes --]
New comment by dmarto on void-packages repository
https://github.com/void-linux/void-packages/pull/37339#issuecomment-1141457399
Comment:
You can stop *all* actions from the settings of your fork (if you don't want them), while if you want to keep them, you will have to maintain a commit that undoes that. I for one, want to keep the cycle action in my fork, as I do use my master branch for personal packages.
And in general, I am not a fan of embedding such "code actions" i.e the code shouldn't care in which repo it is or who is the owner of the repo. At least in my mind, when I fork something I expect 1:1. (off-topic, I bet some may will find it fun to use an action that deletes commit if inside forks - DRM by GithubAction (trademark pending))
Anyway, if the larger consensus is that this is better, I won't be mad or sad; I will simply revert it for myself.
P.S
```yaml
if: github.repository_owner == 'void-linux' || github.event_name != 'schedule'
```
is a more clear version (disclaimer, not tested).
next prev parent reply other threads:[~2022-05-30 20:22 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-05-29 4:28 [PR PATCH] " Animeshz
2022-05-30 20:22 ` dmarto [this message]
2022-05-30 20:47 ` dmarto
2022-05-31 3:19 ` Animeshz
2022-05-31 3:27 ` classabbyamp
2022-05-31 3:34 ` Animeshz
2022-05-31 4:00 ` 0x5c
2022-08-30 2:14 ` github-actions
2022-09-13 2:15 ` [PR PATCH] [Closed]: " github-actions
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=20220530202246.KxIpNfALHDsep9Guo7qNyQQsh-iraxhP5XItRRR9O5I@z \
--to=dmarto@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).