Re: [PATCH v2 2/2] SubmittingPatches: advertise GitHub Actions CI
- From
Đoàn Trần Công Danh <congdanhqx@gmail.com>
- Date
- May 5, 2020, 00:46 UTC
- Message-ID
- <20200505004603.GB927@danh.dev>
- In-Reply-To
- <xmqqmu6nhd1k.fsf@gitster.c.googlers.com>
On 2020-05-04 09:37:11-0700, Junio C Hamano <gitster@pobox.com> wrote:
Show 10 quoted lines
> Đoàn Trần Công Danh <congdanhqx@gmail.com> 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