From c825b2a791e8c031909e63072c42053113a7dd27 Mon Sep 17 00:00:00 2001 From: Magnus Lindstrom Date: Wed, 8 Jan 2025 15:59:57 +0100 Subject: [PATCH 1/4] add file with push rule already in --- file_y | 0 1 file changed, 0 insertions(+), 0 deletions(-) create mode 100644 file_y diff --git a/file_y b/file_y new file mode 100644 index 0000000..e69de29 From 978caa9b3009da91c8c6a006d87b9a5a4cc2a232 Mon Sep 17 00:00:00 2001 From: Magnus Lindstrom Date: Wed, 8 Jan 2025 16:03:40 +0100 Subject: [PATCH 2/4] also run on PRs --- .github/workflows/test.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 652745d..be2db71 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -4,6 +4,7 @@ on: push: branches: - '**' + pull_request: jobs: drone-ci-generic: From 8c45d2dda3c4d855b290ea0433f40e4c8bb32e4f Mon Sep 17 00:00:00 2001 From: Magnus Lindstrom Date: Wed, 8 Jan 2025 16:06:00 +0100 Subject: [PATCH 3/4] another PR with on: PR already enabled --- file_z | 0 1 file changed, 0 insertions(+), 0 deletions(-) create mode 100644 file_z diff --git a/file_z b/file_z new file mode 100644 index 0000000..e69de29 From f2b5d1d994121e82f15c695b618e67e683f1342c Mon Sep 17 00:00:00 2001 From: Magnus Lindstrom Date: Wed, 8 Jan 2025 16:12:49 +0100 Subject: [PATCH 4/4] try adding the on: pr again --- .github/workflows/test.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 228efb0..1a01be8 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -1,6 +1,7 @@ name: build images on: workflow_dispatch: + pull_request: jobs: drone-ci-generic: