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:26:06 +0200 [thread overview]
Message-ID: <20220517162606.B29qQ1wM7vL63ZnUGCIM-iKjYcSi3oQh8x7Flek2GJc@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: 695 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: add workflow to cancel runs on re-push
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: 2533 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 15ed76da0f8252a4f5afee6bb461d4d5c98ae7cf Mon Sep 17 00:00:00 2001
From: classabbyamp <dev@placeviolette.net>
Date: Tue, 17 May 2022 12:21:56 -0400
Subject: [PATCH 2/3] .github/workflows: add workflow to cancel runs on re-push
---
.github/workflows/cancel.yaml | 13 +++++++++++++
1 file changed, 13 insertions(+)
create mode 100644 .github/workflows/cancel.yaml
diff --git a/.github/workflows/cancel.yaml b/.github/workflows/cancel.yaml
new file mode 100644
index 000000000000..3ccc5620ca24
--- /dev/null
+++ b/.github/workflows/cancel.yaml
@@ -0,0 +1,13 @@
+name: Cancel Previous
+on:
+ workflow_run:
+ workflows: ["Check build"]
+ types:
+ - requested
+jobs:
+ cancel:
+ runs-on: ubuntu-latest
+ steps:
+ - uses: styfle/cancel-workflow-action@0.9.1
+ with:
+ workflow_id: ${{ github.event.workflow.id }}
From c3a6e5278a8061ef70368e211098869eb470579e 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"
next prev parent reply other threads:[~2022-05-17 16:26 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 [this message]
2022-05-17 16:43 ` classabbyamp
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=20220517162606.B29qQ1wM7vL63ZnUGCIM-iKjYcSi3oQh8x7Flek2GJc@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).