Github messages for voidlinux
 help / color / mirror / Atom feed
From: classabbyamp <classabbyamp@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: Re: [PR PATCH] [Updated] CI: cancel previous runs on re-push, update to ubuntu-latest
Date: Tue, 17 May 2022 18:43:15 +0200	[thread overview]
Message-ID: <20220517164315.p-eWu8FhQKQdksBpyPeNYiV0_xZjnE8yJfMOj9QsY8M@z> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-37170@inbox.vuxu.org>

[-- Attachment #1: Type: text/plain, Size: 701 bytes --]

There is an updated pull request by classabbyamp against master on the void-packages repository

https://github.com/classabbyamp/void-packages cancel-old-ci
https://github.com/void-linux/void-packages/pull/37170

CI: cancel previous runs on re-push, update to ubuntu-latest
- .github/workflows/build.yaml: switch to ubuntu-latest
- .github/workflows/build.yaml: auto-cancel in-progress workflows

follow-on to stale-closed #28481

<!-- Uncomment relevant sections and delete options which are not applicable -->

#### Testing the changes
- I tested the changes in this PR: **YES**|**briefly**|**NO**


A patch file from https://github.com/void-linux/void-packages/pull/37170.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-cancel-old-ci-37170.patch --]
[-- Type: text/x-diff, Size: 2383 bytes --]

From a0107549052bb6a88aef9a65d3d76313dad46694 Mon Sep 17 00:00:00 2001
From: classabbyamp <dev@placeviolette.net>
Date: Tue, 17 May 2022 11:42:47 -0400
Subject: [PATCH 1/3] .github/workflows/build.yaml: switch to ubuntu-latest

---
 .github/workflows/build.yaml | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml
index 177944e1c03c..c36ff666d4c3 100644
--- a/.github/workflows/build.yaml
+++ b/.github/workflows/build.yaml
@@ -14,7 +14,7 @@ jobs:
   # Lint changed templates.
   xlint:
     name: Lint templates
-    runs-on: ubuntu-18.04
+    runs-on: ubuntu-latest
 
     env:
       PATH: '/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin:/usr/local/bin:/tmp/bin'
@@ -34,7 +34,7 @@ jobs:
   # Build changed packages.
   build:
     name: Build packages
-    runs-on: ubuntu-18.04
+    runs-on: ubuntu-latest
     if: "!contains(github.event.pull_request.title, '[ci skip]') && !contains(github.event.pull_request.body, '[ci skip]')"
 
     container:

From 34aca4a122d8ae320576d6d18cc351c893a86937 Mon Sep 17 00:00:00 2001
From: classabbyamp <dev@placeviolette.net>
Date: Tue, 17 May 2022 12:41:17 -0400
Subject: [PATCH 2/3] .github/workflows/build.yaml: auto-cancel in-progress
 workflows

---
 .github/workflows/build.yaml | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml
index c36ff666d4c3..4ad0e0822ad5 100644
--- a/.github/workflows/build.yaml
+++ b/.github/workflows/build.yaml
@@ -10,6 +10,10 @@ on:
     paths:
       - 'srcpkgs/**'
 
+concurrency:
+  group: ${{ github.workflow }}-${{ github.ref }}
+  cancel-in-progress: true
+
 jobs:
   # Lint changed templates.
   xlint:

From 608749c2f3025001bb54884f96730067dcbf9774 Mon Sep 17 00:00:00 2001
From: classabbyamp <dev@placeviolette.net>
Date: Tue, 17 May 2022 12:25:31 -0400
Subject: [PATCH 3/3] chezmoi: test

yo
---
 srcpkgs/chezmoi/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/chezmoi/template b/srcpkgs/chezmoi/template
index 119bcf35e55a..4a8ce1c4297e 100644
--- a/srcpkgs/chezmoi/template
+++ b/srcpkgs/chezmoi/template
@@ -1,7 +1,7 @@
 # Template file for 'chezmoi'
 pkgname=chezmoi
 version=2.15.4
-revision=1
+revision=2
 build_style=go
 go_import_path="github.com/twpayne/chezmoi/v2"
 go_build_tags="noembeddocs noupgrade"

  parent reply	other threads:[~2022-05-17 16:43 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-05-17 16:23 [PR PATCH] " classabbyamp
2022-05-17 16:25 ` [PR PATCH] [Updated] " classabbyamp
2022-05-17 16:26 ` classabbyamp
2022-05-17 16:43 ` classabbyamp [this message]
2022-05-17 16:43 ` classabbyamp
2022-05-17 16:46 ` classabbyamp
2022-05-17 16:52 ` [PR PATCH] [Merged]: " the-maldridge

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20220517164315.p-eWu8FhQKQdksBpyPeNYiV0_xZjnE8yJfMOj9QsY8M@z \
    --to=classabbyamp@users.noreply.github.com \
    --cc=ml@inbox.vuxu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).