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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 2020-05-04 09:37:11-0700, Junio C Hamano <gitster@xxxxxxxxx> wrote:
> Đoàn Trần Công Danh  <congdanhqx@xxxxxxxxx> 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



[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]

  Powered by Linux