From 408a94b81c2878eb530e3f4da67106f86b2ce515 Mon Sep 17 00:00:00 2001 From: Valeriu Predoi Date: Wed, 17 Jun 2026 15:14:35 +0100 Subject: [PATCH 01/13] run tests after pixi lockfile update --- .github/workflows/test.yml | 1 + .github/workflows/update-lockfiles.yml | 8 ++++++++ 2 files changed, 9 insertions(+) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 73dfdd9e78..084b8709d1 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -5,6 +5,7 @@ permissions: {} # runs on a push on main and at the end of every day on: + workflow_dispatch: push: branches: - main diff --git a/.github/workflows/update-lockfiles.yml b/.github/workflows/update-lockfiles.yml index eddbd423a1..3f47a795d0 100644 --- a/.github/workflows/update-lockfiles.yml +++ b/.github/workflows/update-lockfiles.yml @@ -2,11 +2,15 @@ name: Update lockfiles permissions: + actions: write contents: write pull-requests: write on: workflow_dispatch: + push: + branches: + - run_GHA-Test_after_pixi-lockfile-regen schedule: - cron: 0 5 1 * * @@ -26,6 +30,10 @@ jobs: run: | set -o pipefail pixi update --json | pixi exec pixi-diff-to-markdown >> diff.md + - name: Run tests + run: gh workflow run test.yml + env: + GH_TOKEN: ${{ github.token }} - name: Create pull request uses: peter-evans/create-pull-request@5f6978faf089d4d20b00c7766989d076bb2fc7f1 # v8.1.1 with: From 773624894273a6c75c74f023a08f55b05013057c Mon Sep 17 00:00:00 2001 From: Valeriu Predoi Date: Wed, 17 Jun 2026 15:24:51 +0100 Subject: [PATCH 02/13] examine what gh sees before ruunning dispatch --- .github/workflows/update-lockfiles.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/update-lockfiles.yml b/.github/workflows/update-lockfiles.yml index 3f47a795d0..9db9328947 100644 --- a/.github/workflows/update-lockfiles.yml +++ b/.github/workflows/update-lockfiles.yml @@ -31,7 +31,9 @@ jobs: set -o pipefail pixi update --json | pixi exec pixi-diff-to-markdown >> diff.md - name: Run tests - run: gh workflow run test.yml + run: | + gh workflow view test.yml --yaml + gh workflow run test.yml env: GH_TOKEN: ${{ github.token }} - name: Create pull request From e8308cd2a23dae3b0384d3005c7862cf970be564 Mon Sep 17 00:00:00 2001 From: Valeriu Predoi Date: Thu, 18 Jun 2026 13:17:26 +0100 Subject: [PATCH 03/13] comment out with inline doc some stuff --- .github/workflows/update-lockfiles.yml | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/.github/workflows/update-lockfiles.yml b/.github/workflows/update-lockfiles.yml index 9db9328947..5e9d57d040 100644 --- a/.github/workflows/update-lockfiles.yml +++ b/.github/workflows/update-lockfiles.yml @@ -8,9 +8,10 @@ permissions: on: workflow_dispatch: - push: - branches: - - run_GHA-Test_after_pixi-lockfile-regen + # if we ever need to run this workflow from push + # push: + # branches: + # - branch_name schedule: - cron: 0 5 1 * * @@ -32,7 +33,8 @@ jobs: pixi update --json | pixi exec pixi-diff-to-markdown >> diff.md - name: Run tests run: | - gh workflow view test.yml --yaml + # visually inspect workflow that needs be run e.g. test.yml + # gh workflow view test.yml --yaml gh workflow run test.yml env: GH_TOKEN: ${{ github.token }} From 6b8134e2a0f09925bf6668bec0a9ecba21c24bdf Mon Sep 17 00:00:00 2001 From: Valeriu Predoi Date: Fri, 19 Jun 2026 12:37:32 +0100 Subject: [PATCH 04/13] try run test.yml on the branch that Peter Evans creates --- .github/workflows/update-lockfiles.yml | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/.github/workflows/update-lockfiles.yml b/.github/workflows/update-lockfiles.yml index 5e9d57d040..f7e7cf1a70 100644 --- a/.github/workflows/update-lockfiles.yml +++ b/.github/workflows/update-lockfiles.yml @@ -9,9 +9,9 @@ permissions: on: workflow_dispatch: # if we ever need to run this workflow from push - # push: - # branches: - # - branch_name + push: + branches: + - run_GHA-Test_after_pixi-lockfile-regen schedule: - cron: 0 5 1 * * @@ -31,13 +31,6 @@ jobs: run: | set -o pipefail pixi update --json | pixi exec pixi-diff-to-markdown >> diff.md - - name: Run tests - run: | - # visually inspect workflow that needs be run e.g. test.yml - # gh workflow view test.yml --yaml - gh workflow run test.yml - env: - GH_TOKEN: ${{ github.token }} - name: Create pull request uses: peter-evans/create-pull-request@5f6978faf089d4d20b00c7766989d076bb2fc7f1 # v8.1.1 with: @@ -50,3 +43,10 @@ jobs: labels: pixi delete-branch: true add-paths: pixi.lock + - name: Run tests on that Pull Request + run: | + # visually inspect workflow that needs be run e.g. test.yml + # gh workflow view test.yml --yaml + gh workflow run test.yml --ref update-pixi -f environment=prod + env: + GH_TOKEN: ${{ github.token }} From 05adfb28c91c04d48d8af1c49f3b633890a0b111 Mon Sep 17 00:00:00 2001 From: Valeriu Predoi Date: Fri, 19 Jun 2026 12:40:44 +0100 Subject: [PATCH 05/13] remove environment cmdarg --- .github/workflows/update-lockfiles.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/update-lockfiles.yml b/.github/workflows/update-lockfiles.yml index f7e7cf1a70..3f0f6195d6 100644 --- a/.github/workflows/update-lockfiles.yml +++ b/.github/workflows/update-lockfiles.yml @@ -47,6 +47,6 @@ jobs: run: | # visually inspect workflow that needs be run e.g. test.yml # gh workflow view test.yml --yaml - gh workflow run test.yml --ref update-pixi -f environment=prod + gh workflow run test.yml --ref update-pixi env: GH_TOKEN: ${{ github.token }} From dd1ecd5f3d3e6d0e7bcad836e61f3b939858e9ed Mon Sep 17 00:00:00 2001 From: Valeriu Predoi Date: Fri, 19 Jun 2026 13:33:21 +0100 Subject: [PATCH 06/13] finalize --- .github/workflows/update-lockfiles.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/update-lockfiles.yml b/.github/workflows/update-lockfiles.yml index 3f0f6195d6..89a595cacb 100644 --- a/.github/workflows/update-lockfiles.yml +++ b/.github/workflows/update-lockfiles.yml @@ -9,9 +9,9 @@ permissions: on: workflow_dispatch: # if we ever need to run this workflow from push - push: - branches: - - run_GHA-Test_after_pixi-lockfile-regen + # push: + # branches: + # - branch_name schedule: - cron: 0 5 1 * * @@ -35,7 +35,7 @@ jobs: uses: peter-evans/create-pull-request@5f6978faf089d4d20b00c7766989d076bb2fc7f1 # v8.1.1 with: token: ${{ secrets.GITHUB_TOKEN }} - commit-message: Update pixi lockfile + commit-message: Update pixi lockfile and run Test GHA title: Update pixi lockfile body-path: diff.md branch: update-pixi From bf4272c4d10713ec4a712225efac8910205be17e Mon Sep 17 00:00:00 2001 From: Valeriu Predoi Date: Fri, 19 Jun 2026 13:41:39 +0100 Subject: [PATCH 07/13] add test.yml to pull request on update-pixi --- .github/workflows/test.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 084b8709d1..f887d0caf2 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -9,6 +9,8 @@ on: push: branches: - main + pull_request: + branches: ["update-pixi"] schedule: - cron: "0 0 * * *" From 3cbb2b8e038522737dad74315c2d5cdf2158d9d2 Mon Sep 17 00:00:00 2001 From: Valeriu Predoi Date: Fri, 19 Jun 2026 14:48:05 +0100 Subject: [PATCH 08/13] remove possibly unneeded changes --- .github/workflows/update-lockfiles.yml | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/.github/workflows/update-lockfiles.yml b/.github/workflows/update-lockfiles.yml index 89a595cacb..7d8bca3cc8 100644 --- a/.github/workflows/update-lockfiles.yml +++ b/.github/workflows/update-lockfiles.yml @@ -8,10 +8,6 @@ permissions: on: workflow_dispatch: - # if we ever need to run this workflow from push - # push: - # branches: - # - branch_name schedule: - cron: 0 5 1 * * @@ -43,10 +39,3 @@ jobs: labels: pixi delete-branch: true add-paths: pixi.lock - - name: Run tests on that Pull Request - run: | - # visually inspect workflow that needs be run e.g. test.yml - # gh workflow view test.yml --yaml - gh workflow run test.yml --ref update-pixi - env: - GH_TOKEN: ${{ github.token }} From 90581a539b07c881b5181e9ef7b74c2ff7da564b Mon Sep 17 00:00:00 2001 From: Valeriu Predoi Date: Fri, 19 Jun 2026 14:49:20 +0100 Subject: [PATCH 09/13] remove possibly unneeded changes part deux --- .github/workflows/update-lockfiles.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/update-lockfiles.yml b/.github/workflows/update-lockfiles.yml index 7d8bca3cc8..eddbd423a1 100644 --- a/.github/workflows/update-lockfiles.yml +++ b/.github/workflows/update-lockfiles.yml @@ -2,7 +2,6 @@ name: Update lockfiles permissions: - actions: write contents: write pull-requests: write @@ -31,7 +30,7 @@ jobs: uses: peter-evans/create-pull-request@5f6978faf089d4d20b00c7766989d076bb2fc7f1 # v8.1.1 with: token: ${{ secrets.GITHUB_TOKEN }} - commit-message: Update pixi lockfile and run Test GHA + commit-message: Update pixi lockfile title: Update pixi lockfile body-path: diff.md branch: update-pixi From f5875fd0fba2a2cfe7e0b3f685f2e3ac19b17b5f Mon Sep 17 00:00:00 2001 From: Valeriu Predoi Date: Fri, 19 Jun 2026 15:23:11 +0100 Subject: [PATCH 10/13] remove target run in test.yml --- .github/workflows/test.yml | 2 -- 1 file changed, 2 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index f887d0caf2..084b8709d1 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -9,8 +9,6 @@ on: push: branches: - main - pull_request: - branches: ["update-pixi"] schedule: - cron: "0 0 * * *" From f6b1018a3bca683218d2478fae052c8e45ce2cf2 Mon Sep 17 00:00:00 2001 From: Valeriu Predoi Date: Fri, 19 Jun 2026 15:25:44 +0100 Subject: [PATCH 11/13] redo changes that run test.yml GHA --- .github/workflows/update-lockfiles.yml | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/.github/workflows/update-lockfiles.yml b/.github/workflows/update-lockfiles.yml index eddbd423a1..89a595cacb 100644 --- a/.github/workflows/update-lockfiles.yml +++ b/.github/workflows/update-lockfiles.yml @@ -2,11 +2,16 @@ name: Update lockfiles permissions: + actions: write contents: write pull-requests: write on: workflow_dispatch: + # if we ever need to run this workflow from push + # push: + # branches: + # - branch_name schedule: - cron: 0 5 1 * * @@ -30,7 +35,7 @@ jobs: uses: peter-evans/create-pull-request@5f6978faf089d4d20b00c7766989d076bb2fc7f1 # v8.1.1 with: token: ${{ secrets.GITHUB_TOKEN }} - commit-message: Update pixi lockfile + commit-message: Update pixi lockfile and run Test GHA title: Update pixi lockfile body-path: diff.md branch: update-pixi @@ -38,3 +43,10 @@ jobs: labels: pixi delete-branch: true add-paths: pixi.lock + - name: Run tests on that Pull Request + run: | + # visually inspect workflow that needs be run e.g. test.yml + # gh workflow view test.yml --yaml + gh workflow run test.yml --ref update-pixi + env: + GH_TOKEN: ${{ github.token }} From a9f7bafae2aa2ea83d94de118ceaa97367586175 Mon Sep 17 00:00:00 2001 From: Valeriu Predoi Date: Fri, 19 Jun 2026 15:27:09 +0100 Subject: [PATCH 12/13] remove prob not wanted bits --- .github/workflows/update-lockfiles.yml | 4 ---- 1 file changed, 4 deletions(-) diff --git a/.github/workflows/update-lockfiles.yml b/.github/workflows/update-lockfiles.yml index 89a595cacb..e843ebea05 100644 --- a/.github/workflows/update-lockfiles.yml +++ b/.github/workflows/update-lockfiles.yml @@ -8,10 +8,6 @@ permissions: on: workflow_dispatch: - # if we ever need to run this workflow from push - # push: - # branches: - # - branch_name schedule: - cron: 0 5 1 * * From abde588fdeeb5d18d9330021b82d5d63de898f4f Mon Sep 17 00:00:00 2001 From: Valeriu Predoi Date: Fri, 19 Jun 2026 15:37:58 +0100 Subject: [PATCH 13/13] remove not working opt in test.yml --- .github/workflows/test.yml | 2 -- 1 file changed, 2 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index f887d0caf2..084b8709d1 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -9,8 +9,6 @@ on: push: branches: - main - pull_request: - branches: ["update-pixi"] schedule: - cron: "0 0 * * *"