From patchwork Mon May 4 15:49:31 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?b?xJBvw6BuIFRy4bqnbiBDw7RuZyBEYW5o?= X-Patchwork-Id: 11526595 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id EA61F17EF for ; Mon, 4 May 2020 15:49:48 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id D1F7C20705 for ; Mon, 4 May 2020 15:49:48 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="htVg58DB" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729446AbgEDPts (ORCPT ); Mon, 4 May 2020 11:49:48 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36346 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1726641AbgEDPtr (ORCPT ); Mon, 4 May 2020 11:49:47 -0400 Received: from mail-pf1-x434.google.com (mail-pf1-x434.google.com [IPv6:2607:f8b0:4864:20::434]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6C108C061A0E for ; Mon, 4 May 2020 08:49:47 -0700 (PDT) Received: by mail-pf1-x434.google.com with SMTP id x2so5668928pfx.7 for ; Mon, 04 May 2020 08:49:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=Ko2+QlUW2I6FF8ZlmQH9phzTArvgWz6BxmT/mrtW5zI=; b=htVg58DB4QcNaCxMDxUgnUCVzDiXODi+9Uu7eUQ1b40rXWCNMz8bxlVkyvJGO6sSJR /KgmQyJU0O7cGo5+sUkcdvvK2WGLUjXMsk6EKY6C9ZqrtC02zw4GRvSP6g9+68cDDoEU //bKMZlgWpNSBcwwncEkV8ycLskhz46eKhiIoiyHLPBG6F+tpOgYF7sZ4F28VL6mWt1s CXtEiWUHOfLw9vdx3EHoVE+Z8WlpgJu5Q3mwnIzB7s39ksQ54YtktfLbx10u72iS7WdE Coz+kt1Xs/2wcS5yre3lnVVmZZTzDwhMnD27xH3oGZlDRdjtiJ6IU4xO9/MZWZgtHV9u yFhQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=Ko2+QlUW2I6FF8ZlmQH9phzTArvgWz6BxmT/mrtW5zI=; b=R/UX62Ioo71asjdRwquhgSDk39z82DrunpyJTT7zCFHI/k4sUPAA2eGTD5hlX2zIvW cBdJ2mGmeBTxiyWhB8grTYBAWeUdsPgcplJMpRyRw8CdWoRWHJYHlSQpTfss86coDzGE Dwjln2cHOC175Enx3z3Nc6Rl2GmajjLmgjqHShlDyl2WxUNlvb437spwW+4zqdsNwaFI z/KcyyqH7HB5lF+6AS+/Q6kKsnKd6BY7b3uElNTM+j5pPCnaQ/a4JDjtXUqwVejejjsM gzaNOHgy8VO3/f0F0jSXKkPfOvNknhPJHOlu72SjKUShIIo2+fYc3qZY/NBrQiiNHrnS Cgyw== X-Gm-Message-State: AGi0Pubsjvcoif91Q+qwluTBEqSz5va9BxhivR9Yh/vMGXm5f9q4STSB egWi4zcLfQMx6K4M+Vrz9W8QLoSg X-Google-Smtp-Source: APiQypK+E1kYSWrEJo7xhmDVEsCGNQ1hv7Fevh7PENrtFhInRW9lOeJQEQ8HknIfJ4KP31XMqV8Ovg== X-Received: by 2002:a63:c241:: with SMTP id l1mr17529356pgg.42.1588607386603; Mon, 04 May 2020 08:49:46 -0700 (PDT) Received: from localhost.localdomain ([2402:800:6374:cedc:d509:3e82:1f34:e3c4]) by smtp.gmail.com with ESMTPSA id x63sm9319513pfc.56.2020.05.04.08.49.44 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Mon, 04 May 2020 08:49:46 -0700 (PDT) From: =?utf-8?b?xJBvw6BuIFRy4bqnbiBDw7RuZyBEYW5o?= To: git@vger.kernel.org Cc: =?utf-8?b?xJBvw6BuIFRy4bqnbiBDw7RuZyBEYW5o?= , Jeff Hostetler , Johannes Schindelin , Jeff King Subject: [PATCH v2 1/2] CI: limit GitHub Actions to designated branches Date: Mon, 4 May 2020 22:49:31 +0700 Message-Id: <73de97dfebfccabe9f1bf32ea41aea5008a949cd.1588607262.git.congdanhqx@gmail.com> X-Mailer: git-send-email 2.26.2.672.g232c24e857 In-Reply-To: References: <20200504150105.GB11373@coredump.intra.peff.net> MIME-Version: 1.0 Sender: git-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: git@vger.kernel.org Git's maintainer usually don't have enough time to debug the failure of invidual feature branch, they usually want to look at intergration branches. Contributors now can have GitHub Actions as an opt-in option, should they want to check their code, they will push into designated branch. Signed-off-by: Đoàn Trần Công Danh Signed-off-by: Jeff King Signed-off-by: Đoàn Trần Công Danh Signed-off-by: Đoàn Trần Công Danh --- .github/workflows/main.yml | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index fd4df939b5..ea43b03092 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -1,6 +1,18 @@ name: CI/PR -on: [push, pull_request] +on: + pull_request: + branches: + - '**' + push: + branches: + - maint + - master + - next + - jch + - pu + tags: + - '*' env: DEVELOPER: 1 From patchwork Mon May 4 15:49:32 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?b?xJBvw6BuIFRy4bqnbiBDw7RuZyBEYW5o?= X-Patchwork-Id: 11526597 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 3753314C0 for ; Mon, 4 May 2020 15:49:51 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 1E06F206B9 for ; Mon, 4 May 2020 15:49:51 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="Y4RghITJ" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729450AbgEDPtu (ORCPT ); Mon, 4 May 2020 11:49:50 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36354 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1726641AbgEDPtt (ORCPT ); Mon, 4 May 2020 11:49:49 -0400 Received: from mail-pj1-x102a.google.com (mail-pj1-x102a.google.com [IPv6:2607:f8b0:4864:20::102a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9AD57C061A0E for ; Mon, 4 May 2020 08:49:49 -0700 (PDT) Received: by mail-pj1-x102a.google.com with SMTP id e6so1906pjt.4 for ; Mon, 04 May 2020 08:49:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=nrZL/0/rqA+MzhK8jn5ukYdLZY6pA1v4f1daiwJByh8=; b=Y4RghITJiJ4u4Owwgd/pTr1JFZYtiwVFw4ECdYkH5de+pYvJg3R3+wkeXw82/mVsT9 Pp/HYTqzamH6bry6NLFITRRiFjtlDHviDIxMegHDTHkEOt7ske9OZTghn9YAaacR9JY2 D9JrnV4/cFwgvo3SFMfN3NpWjJoiFVUW2z6ZxVpGkiWMYpM6smoSJmf6XYIVp3CdZTrT xErFuGCOEfJid4UBFJHJepuRaLu4RVXHaVKik4VUewGilt5SW1CRLY3qYyZcu0Px+72Y M3/HUEuJDav1XfhsY8o4azXHPcG3+iIqBSg6cBokT3LT2187yTHZLbpBO6mytNrfXmad HLVQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=nrZL/0/rqA+MzhK8jn5ukYdLZY6pA1v4f1daiwJByh8=; b=oTYnOGDFlUoIAXxDx45Y4ITmWX1OCHEuVeFytpflzpYqXoe0OeCeSQMgHcXlhVGDZM 1eKP+NSwmHpUEMXmtMggBL2k+6yR00KgBsQzTXVX5mTnPipJ8DI+XpnCGSrY+ULE+9Ah DMgNffM3y3aH5P/xk9+oK88NqbfZPHyQLat0DCryHBKeZL6G91IPsGJvb5/Aww6rgr3u vK+d6Z7teD5nHm0F3feFxfvi4IYocf8fHPfmxLhbHCNgUr9LGbkxnitApqWr8k3s5j1e LWTDSFaM1ObWniqmg+SCtPLIFrYp/8/Fq22umxheqOvG3w/JJMEEWibqiw/7f3mGrNPb jgUQ== X-Gm-Message-State: AGi0Pubj/zTQHfLRbu6A7FZUOZHKj/RWACjai/MNBXNu/nERZVd2adLF V10uegZ5DYIkY0mSTEgpdOoCcOnT X-Google-Smtp-Source: APiQypKzehzhsuBsTEO/4jhLhXLRpEsD/2S5Cik5bE8nlIV/5Az8hjtqeoe+/KtC8lVXMJmkacEeFw== X-Received: by 2002:a17:902:8643:: with SMTP id y3mr18364851plt.149.1588607388898; Mon, 04 May 2020 08:49:48 -0700 (PDT) Received: from localhost.localdomain ([2402:800:6374:cedc:d509:3e82:1f34:e3c4]) by smtp.gmail.com with ESMTPSA id x63sm9319513pfc.56.2020.05.04.08.49.46 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Mon, 04 May 2020 08:49:48 -0700 (PDT) From: =?utf-8?b?xJBvw6BuIFRy4bqnbiBDw7RuZyBEYW5o?= To: git@vger.kernel.org Cc: =?utf-8?b?xJBvw6BuIFRy4bqnbiBDw7RuZyBEYW5o?= , Jeff Hostetler , Johannes Schindelin , Jeff King Subject: [PATCH v2 2/2] SubmittingPatches: advertise GitHub Actions CI Date: Mon, 4 May 2020 22:49:32 +0700 Message-Id: <24a8fefe5add61d557a29f070bd2ca0d0f43d844.1588607262.git.congdanhqx@gmail.com> X-Mailer: git-send-email 2.26.2.672.g232c24e857 In-Reply-To: References: <20200504150105.GB11373@coredump.intra.peff.net> MIME-Version: 1.0 Sender: git-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: git@vger.kernel.org From 889cacb689 (ci: configure GitHub Actions for CI/PR, 2020-04-11), GitHub Actions was introduced as an alternative CI system for Git project. Let's advertise it to Git's contributors to help them test Git on various platforms before submitting to Git. Signed-off-by: Đoàn Trần Công Danh --- Documentation/SubmittingPatches | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Documentation/SubmittingPatches b/Documentation/SubmittingPatches index 4515cab519..741867dfe3 100644 --- a/Documentation/SubmittingPatches +++ b/Documentation/SubmittingPatches @@ -78,6 +78,11 @@ on open source projects), you can use their Travis CI integration to test your changes on Linux, Mac (and hopefully soon Windows). See GitHub-Travis CI hints section for details. +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 + Do not forget to update the documentation to describe the updated behavior and make sure that the resulting documentation set formats well (try the Documentation/doc-diff script).