[Ietf-and-github] Using GitHub Actions

Martin Thomson <mt@lowentropy.net> Fri, 10 July 2020 07:17 UTC

Return-Path: <mt@lowentropy.net>
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 427A83A0E6D; Fri, 10 Jul 2020 00:17:02 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.098
X-Spam-Level:
X-Spam-Status: No, score=-2.098 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_MSPIKE_H4=0.001, RCVD_IN_MSPIKE_WL=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=lowentropy.net header.b=YhmV4FX4; dkim=pass (2048-bit key) header.d=messagingengine.com header.b=VQQb/gSb
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 YfOvX2VD5EDO; Fri, 10 Jul 2020 00:17:00 -0700 (PDT)
Received: from wout1-smtp.messagingengine.com (wout1-smtp.messagingengine.com [64.147.123.24]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 629C83A0E6B; Fri, 10 Jul 2020 00:17:00 -0700 (PDT)
Received: from compute2.internal (compute2.nyi.internal [10.202.2.42]) by mailout.west.internal (Postfix) with ESMTP id 5CE95DBD; Fri, 10 Jul 2020 03:16:59 -0400 (EDT)
Received: from imap2 ([10.202.2.52]) by compute2.internal (MEProxy); Fri, 10 Jul 2020 03:16:59 -0400
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=lowentropy.net; h=mime-version:message-id:date:from:to:subject:content-type; s= fm2; bh=UF5n4DGN3AF3hoHbSv/7Tbsf1QjRjPYEl5oX49SDuYQ=; b=YhmV4FX4 EE2xPfVTLF+S9QgjpAyTjIxon91e8OrgE8UrmFkP21lTfRPJ/gq/Q3Lf6UH2Pb/J HDCWsyqaGKRw0jftHAaYJekKSwFrucJoHqRer57Wb9LjjDphn3nMkS4SMdBsuSf4 5geYyrN/wFPnTwPq/qdc63XGJNENJFn2KDNz7kWgWNVkinsvb3cO45idcqzzrsAf ZZXfickpNuQiHe+KXlYC599YQYlcilFXHPMNhvSuVj7gYaStiWlSr8xg64fKRa6w QE79TlJB/YIHRnf+l9vXwfN6u3DxqU4P26yePE/XSXfsn7zQKu5BhCiDemMxOU2s awuEfGhITCi5xA==
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=content-type:date:from:message-id :mime-version:subject:to:x-me-proxy:x-me-proxy:x-me-sender :x-me-sender:x-sasl-enc; s=fm3; bh=UF5n4DGN3AF3hoHbSv/7Tbsf1QjRj PYEl5oX49SDuYQ=; b=VQQb/gSbFfsxqhhJoAoi/Wr5L4r1z48NTkWQWFJ0Lnmwd NxPF8nCJx1ObUnFGsdfZHGQTN0UbUJFE12Jf3ZA4qUu1LSBon4TGmUU4JarjDQgY rfPjdHSpxLV8r0jvGGJ2tBSybHelOITcX2RfXkZCRlVydnrwcj+EiwFU9FfJm5nJ MWsZUV30JOrkjrAv7zpVaVVfaICL2ruRJCTsyPwD89wg2zHqQtoJcWND1AFTnB7r f9SpfbHuGqsuMXWgcfcIOs+sbtcPCCLtgkEAjnKlyu5EbdpQtDJU3R7lcAoXnC+z U6PktCiJNW2p2W/8JJgqvYS6BAnKhmo9LL6qa30pA==
X-ME-Sender: <xms:6hUIX8QKKSjVqktU61jLurx0ljy83G9KjfaoNvU2kRUSv_0QXsZbyw>
X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduiedrvddtgdduudelucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucgoufhushhpvggtthffohhmrghinhculdegledmne cujfgurhepofgfggfkfffhvffutgesthdtredtreertdenucfhrhhomhepfdforghrthhi nhcuvfhhohhmshhonhdfuceomhhtsehlohifvghnthhrohhphidrnhgvtheqnecuggftrf grthhtvghrnhepudefjedtteeutdevvdegtddtjeektdevjeevgeehieekffdtlefgvdfg teeujeefnecuffhomhgrihhnpehgihhthhhusgdrtghomhdpghhithhhuhgsrdhiohenuc evlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpehmtheslhho figvnhhtrhhophihrdhnvght
X-ME-Proxy: <xmx:6hUIX5zJyyUbg41-rn_nxnkexmHlhcXHqLaYHGQg0lxkA40_jagBQQ> <xmx:6hUIX51XF0punz3jIB4SYiEtW6-S0sQ3DuzqczHFQHEvanG3T_4H0A> <xmx:6hUIXwDIRrTfr75Wz1PbnlFE573p74i21TjIKv4avmtfw7GJEnPKvA> <xmx:6xUIXwuKnoGn0mRoFGDpnBa1hdLvjKjQNx-34FkYH1HGRf1q9nOWeQ>
Received: by mailuser.nyi.internal (Postfix, from userid 501) id AD965E00AA; Fri, 10 Jul 2020 03:16:58 -0400 (EDT)
X-Mailer: MessagingEngine.com Webmail Interface
User-Agent: Cyrus-JMAP/3.3.0-dev0-613-g8a73ad6-fm-20200709.001-g8a73ad6e
Mime-Version: 1.0
Message-Id: <387bc997-9dac-4498-8398-5398d0e67c61@www.fastmail.com>
Date: Fri, 10 Jul 2020 17:16:38 +1000
From: Martin Thomson <mt@lowentropy.net>
To: ietf-and-github@ietf.org, wgchairs@ietf.org
Content-Type: text/plain
Archived-At: <https://mailarchive.ietf.org/arch/msg/ietf-and-github/6CzF7BtvcrPBq2Teu4F3aGo5iIc>
Subject: [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: Fri, 10 Jul 2020 07:17:02 -0000

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.