Skip to content

Commit 6b8134e

Browse files
committed
try run test.yml on the branch that Peter Evans creates
1 parent e8308cd commit 6b8134e

1 file changed

Lines changed: 10 additions & 10 deletions

File tree

.github/workflows/update-lockfiles.yml

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,9 @@ permissions:
99
on:
1010
workflow_dispatch:
1111
# if we ever need to run this workflow from push
12-
# push:
13-
# branches:
14-
# - branch_name
12+
push:
13+
branches:
14+
- run_GHA-Test_after_pixi-lockfile-regen
1515
schedule:
1616
- cron: 0 5 1 * *
1717

@@ -31,13 +31,6 @@ jobs:
3131
run: |
3232
set -o pipefail
3333
pixi update --json | pixi exec pixi-diff-to-markdown >> diff.md
34-
- name: Run tests
35-
run: |
36-
# visually inspect workflow that needs be run e.g. test.yml
37-
# gh workflow view test.yml --yaml
38-
gh workflow run test.yml
39-
env:
40-
GH_TOKEN: ${{ github.token }}
4134
- name: Create pull request
4235
uses: peter-evans/create-pull-request@5f6978faf089d4d20b00c7766989d076bb2fc7f1 # v8.1.1
4336
with:
@@ -50,3 +43,10 @@ jobs:
5043
labels: pixi
5144
delete-branch: true
5245
add-paths: pixi.lock
46+
- name: Run tests on that Pull Request
47+
run: |
48+
# visually inspect workflow that needs be run e.g. test.yml
49+
# gh workflow view test.yml --yaml
50+
gh workflow run test.yml --ref update-pixi -f environment=prod
51+
env:
52+
GH_TOKEN: ${{ github.token }}

0 commit comments

Comments
 (0)