Skip to content

Commit 50b5716

Browse files
authored
chore: use correct python version when running pip-compile in workflow (#229)
The default env will produce a different set of packages when the gh action does `make pip-compile`.
1 parent fb36df7 commit 50b5716

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

.github/workflows/bump_libraries.yaml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,9 @@ on:
88
paths:
99
- 'requirements/**'
1010

11+
env:
12+
PYTHON_VERSION: "3.8"
13+
1114
jobs:
1215
bump-changelog:
1316
runs-on: ubuntu-latest
@@ -16,6 +19,10 @@ jobs:
1619
contents: write
1720
steps:
1821
- uses: actions/checkout@v4
22+
- name: Set up Python ${{ env.PYTHON_VERSION }}
23+
uses: actions/setup-python@v4
24+
with:
25+
python-version: ${{ env.PYTHON_VERSION }}
1926
- name: Dependabot metadata
2027
id: metadata
2128
uses: dependabot/fetch-metadata@v1

0 commit comments

Comments
 (0)