Skip to content

Commit 2ca17f4

Browse files
authored
Update new_versions.yaml (emscripten-forge#2193)
1 parent 251a2ca commit 2ca17f4

File tree

1 file changed

+9
-2
lines changed

1 file changed

+9
-2
lines changed

.github/workflows/new_versions.yaml

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,17 @@ on:
77

88
jobs:
99
update_versions:
10+
strategy:
11+
matrix:
12+
branch: [main]
13+
14+
1015
if: (github.event_name == 'schedule' && github.repository == 'emscripten-forge/recipes') || (github.event_name != 'schedule')
1116
runs-on: [ubuntu-latest]
1217
steps:
1318
- uses: actions/checkout@v4
19+
with:
20+
ref: main
1421

1522
- name: Install micromamba
1623
uses: mamba-org/setup-micromamba@v1
@@ -19,6 +26,6 @@ jobs:
1926

2027
- name: Determine new package version and open/merge PRs
2128
shell: bash -l -eo pipefail {0}
22-
run: python -m emci bot bump-recipes-versions
29+
run: python -m emci bot bump-recipes-versions ${{ matrix.branch }}
2330
env:
24-
GITHUB_TOKEN: ${{ secrets.BOT_ACCESS_TOKEN }}
31+
GITHUB_TOKEN: ${{ secrets.BOT_ACCESS_TOKEN }}

0 commit comments

Comments
 (0)