Subject: Re: [PATCH v2 2/2] SubmittingPatches: advertise GitHub Actions CI

From: Đoàn Trần Công Danh <[email-masked]>
Date: Tue, 5 May 2020 07:46:03 +0700

On 2020-05-04 09:37:11-0700, Junio C Hamano <[email-masked]> wrote:
> Đoàn Trần Công Danh  <[email-masked]> writes:
> 
> > +Alternately, you can use GitHub Actions (which supports testing your changes
> > +on Linux, macOS, and Windows) by pushing into a branch whose name starts
> > +with "for-ci/" or opening a GitHub's Pull Request against
> > +https://github.com/git/git.git
> 
> Can you tighten the description of "for-ci/" a bit?  It's not like
> the convention is offered in _any_ repository, but it is active only
> if you push to a fork of git.git, right?

The convention will work in any repository with
"$TOPDIR/.github/workflows/*.yml" exists.
Since GitHub Actions will look into the file ".github/workflows/*.yml"
in current repository.

> If your fork is a fork of
> a fork, what happens (e.g. github.com/gitster/git is marked as a
> fork of git/git; when somebody forks from gitster/git, would they
> also get the for-ci/ convention)?

Yes, they'll get that convention.

-- 
Danh