Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] .github/workflows/build.yaml: only run on changes in srcpkgs/
@ 2022-04-14 18:38 classabbyamp
  2022-04-14 18:41 ` [PR PATCH] [Merged]: [RFC] " the-maldridge
  0 siblings, 1 reply; 2+ messages in thread
From: classabbyamp @ 2022-04-14 18:38 UTC (permalink / raw)
  To: ml

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

There is a new pull request by classabbyamp against master on the void-packages repository

https://github.com/classabbyamp/void-packages workflow-filter-build
https://github.com/void-linux/void-packages/pull/36695

.github/workflows/build.yaml: only run on changes in srcpkgs/
Currently, this workflow runs on every pr (and push to branches called `ci-*`). This doesn't give any useful information for changes that only affect other parts of the repo, like common, xbps-src, documentation, etc.


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

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-workflow-filter-build-36695.patch --]
[-- Type: text/x-diff, Size: 698 bytes --]

From dc7170150f097311cc00cd77771beb1acc47bcec Mon Sep 17 00:00:00 2001
From: classabbyamp <dev@placeviolette.net>
Date: Thu, 14 Apr 2022 14:33:43 -0400
Subject: [PATCH] .github/workflows/build.yaml: only run on changes in srcpkgs/

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

diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml
index 503f1e1f4b68..2ae7a3e728fa 100644
--- a/.github/workflows/build.yaml
+++ b/.github/workflows/build.yaml
@@ -2,9 +2,13 @@ name: Check build
 
 on:
   pull_request:
+    paths:
+      - 'srcpkgs/**'
   push:
     branches:
       - 'ci-**'
+    paths:
+      - 'srcpkgs/**'
 
 jobs:
   # Lint changed templates.

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PR PATCH] [Merged]: [RFC] .github/workflows/build.yaml: only run on changes in srcpkgs/
  2022-04-14 18:38 [PR PATCH] .github/workflows/build.yaml: only run on changes in srcpkgs/ classabbyamp
@ 2022-04-14 18:41 ` the-maldridge
  0 siblings, 0 replies; 2+ messages in thread
From: the-maldridge @ 2022-04-14 18:41 UTC (permalink / raw)
  To: ml

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

There's a merged pull request on the void-packages repository

[RFC] .github/workflows/build.yaml: only run on changes in srcpkgs/
https://github.com/void-linux/void-packages/pull/36695

Description:
Currently, this workflow runs on every pr (and push to branches called `ci-*`). This doesn't give any useful information for changes that only affect other parts of the repo, like common, xbps-src, documentation, etc.


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2022-04-14 18:41 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-04-14 18:38 [PR PATCH] .github/workflows/build.yaml: only run on changes in srcpkgs/ classabbyamp
2022-04-14 18:41 ` [PR PATCH] [Merged]: [RFC] " the-maldridge

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).