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 * * *" diff --git a/.github/workflows/update-lockfiles.yml b/.github/workflows/update-lockfiles.yml index eddbd423a1..e843ebea05 100644 --- a/.github/workflows/update-lockfiles.yml +++ b/.github/workflows/update-lockfiles.yml @@ -2,6 +2,7 @@ name: Update lockfiles permissions: + actions: write contents: write pull-requests: write @@ -30,7 +31,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 +39,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 }}