Re: [Ietf-and-github] Using GitHub Actions

Lucas Pardue <lucaspardue.24.7@gmail.com> Mon, 13 July 2020 03:07 UTC

Return-Path: <lucaspardue.24.7@gmail.com>
X-Original-To: ietf-and-github@ietfa.amsl.com
Delivered-To: ietf-and-github@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id AD8893A0880; Sun, 12 Jul 2020 20:07:10 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: 0.053
X-Spam-Level:
X-Spam-Status: No, score=0.053 tagged_above=-999 required=5 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_ENVFROM_END_DIGIT=0.25, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id zIKyp8GDhSNK; Sun, 12 Jul 2020 20:07:09 -0700 (PDT)
Received: from mail-wm1-x32a.google.com (mail-wm1-x32a.google.com [IPv6:2a00:1450:4864:20::32a]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 9EC693A0882; Sun, 12 Jul 2020 20:07:08 -0700 (PDT)
Received: by mail-wm1-x32a.google.com with SMTP id o2so11631784wmh.2; Sun, 12 Jul 2020 20:07:08 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=NanRanl3nvMTizQQ9WkOOz60WiOvN0GszCSP3z1yM04=; b=mV1P6j6Sov0NffdJpPGnqbESgtxO8gB9xWqX5NKMW3Xb9NPDU4AYrR+VDqwRXjOKN3 13QKzy7hOSmxsP/FxdXyORxDXn2RH+MQKUu8do7jxdcGt1NhTBeKpIE1zk1U8WpgibGH s/f7BtjCv5+zNvLVUrQOxGTL/xfzKLUBK6LJsJb+HwVJMY3rESKB6A6f+k54y7KpwNxX THTarRRxTYWN56OwRh3hrLvbBc8Pade+Oaan1Os+LewpEezah7p0t0X3Yup/a/895e6p dVWRhGvbxN578ALsbYLNUlcf1n9ndLVATD0yRUAHdf5qqMlqst/vJ6zkLdyID8q9COZl uJiw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=NanRanl3nvMTizQQ9WkOOz60WiOvN0GszCSP3z1yM04=; b=ftGFSskfGElhMGNvfWL6sL7PYi0Gdd1Ng0FrsfU1aCiAtL6nk/hR4HJ+pmBSvU+iGB 0qsu4blbf0vtgc/UCpYnJ3b/HLyjXhJZ9mknQKtzLFmN9LzwwxHhhZ7swKrzghrvL1nH sS262wXJfATJUGSpUrFzYJrNusZhVT4131RT3Qc7qG/e23W7WyrEs6pc1MVOznWfkFvC BTfAK7qGm6j5ZclTJ9zAV3ET8DURYOVJmtSnBFKj4ls5kAzfsal2d9DkgTuJ+GgWaxDl xlknvhNttiu8xyh2kfRSjj05BypbNIU/MmNZjAIWjvaHJED5Z5LuEzB71LLRz3o8zhHr XRqA==
X-Gm-Message-State: AOAM5312hx/ZbGe1GwFRGTl39wCrZqU984T2Kwa8sZxPvPs/IKrQjM5z 2IBr6xnqhrxFmxPPZrVOO3uZKt71zlj55xTPpoQT+UwX
X-Google-Smtp-Source: ABdhPJx6w6ea71ByFaktRfc7982kXFdlIpkH8I6Zhx4np4UF1fES03U+EC28UUSbFrNBnuagj7q+cLrdyIstX07k68Q=
X-Received: by 2002:a7b:cb98:: with SMTP id m24mr16688707wmi.98.1594609627031; Sun, 12 Jul 2020 20:07:07 -0700 (PDT)
MIME-Version: 1.0
References: <387bc997-9dac-4498-8398-5398d0e67c61@www.fastmail.com>
In-Reply-To: <387bc997-9dac-4498-8398-5398d0e67c61@www.fastmail.com>
From: Lucas Pardue <lucaspardue.24.7@gmail.com>
Date: Mon, 13 Jul 2020 04:06:56 +0100
Message-ID: <CALGR9oY=PsEPqXPzf3m1Q7RP5+7c4sngkqTsK=04deXbi+=Oqg@mail.gmail.com>
To: Martin Thomson <mt@lowentropy.net>
Cc: ietf-and-github@ietf.org, wgchairs@ietf.org
Content-Type: multipart/alternative; boundary="0000000000005fecc605aa49fc2d"
Archived-At: <https://mailarchive.ietf.org/arch/msg/ietf-and-github/lajkppVOinFjJCtkelWQtwKjTY8>
Subject: Re: [Ietf-and-github] Using GitHub Actions
X-BeenThere: ietf-and-github@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: "Discussion of using GitHub in IETF activities, particularly for Working Groups" <ietf-and-github.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/ietf-and-github>, <mailto:ietf-and-github-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/ietf-and-github/>
List-Post: <mailto:ietf-and-github@ietf.org>
List-Help: <mailto:ietf-and-github-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ietf-and-github>, <mailto:ietf-and-github-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 13 Jul 2020 03:07:11 -0000

This is great, thank you.

I've just tested on a fresh repo and this worked first time with no
hitches, much better than fiddling with CircleCI.

Cheers
Lucas

On Fri, Jul 10, 2020 at 8:17 AM Martin Thomson <mt@lowentropy.net> wrote:

> Anyone using the latest version of
> https://github.com/martinthomson/i-d-template will get support for GitHub
> Actions.
>
> The main advantage of this change is that you don't need to setup CI to
> get an Editor's Copy that updates with every commit, or draft submission
> using a tag.  No more messing around with tokens and setting up separate
> systems.
>
> Results look like this:
> https://github.com/martinthomson/rfced-model/actions
> and this:
> https://martinthomson.github.io/rfced-model/draft-thomson-rfced-model.html
>
> Anyone looking to convert can copy the necessary files into place:
>
> # Get the latest
> git -C lib fetch origin main
> git -C lib checkout -f main
> make update
>
> # Copy the files
> cp -R lib/template/.github .
> git add .github
> git commit
> git push
>
> Of course, now isn't necessarily the time to experiment, but I thought
> that I would share.  Also, there are a few open issues with archiving
> issues and pull requests, but I hope to fix those shortly and they don't
> affect normal operation.
>
>