From c3301db6afcfdebdae358abb7eaf95a58b6ba6da Mon Sep 17 00:00:00 2001 From: Ximon Eighteen <3304436+ximon18@users.noreply.github.com> Date: Wed, 20 Nov 2024 10:58:05 +0100 Subject: [PATCH] Optimize testing usage of GH Actions resources. --- .github/workflows/pkg.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/pkg.yml b/.github/workflows/pkg.yml index 0b9cac8..58fa53f 100644 --- a/.github/workflows/pkg.yml +++ b/.github/workflows/pkg.yml @@ -2,6 +2,11 @@ name: Packaging on: push: + # Don't run on dev branches because when testing changes we may want to + # run with the single_job argument set to speed up testing and avoid + # wasting resources, but the automatic run will just run all of the jobs. + branches: + - 'main' workflow_dispatch: inputs: