Skip to content

Commit 387af32

Browse files
authored
fix gha workfolws (#1675)
1 parent ff9103d commit 387af32

File tree

5 files changed

+2
-54
lines changed

5 files changed

+2
-54
lines changed

.ci/patch_notebooks.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ def patch_notebooks(notebooks_dir, test_device=""):
6565
if test_device and DEVICE_WIDGET in cell["source"]:
6666
device_found = True
6767
cell["source"] = re.sub(r"value=.*,", f"value='{test_device.upper()}',", cell["source"])
68-
cell["source"] = re.sub(r"options=.*,", f"options=['{test_device.upper()}'],", cell["source"])
68+
cell["source"] = re.sub(r"options=", f"options=['{test_device.upper()}'] + ", cell["source"])
6969
print(f"Replaced testing device to {test_device}")
7070
replace_dict = cell.get("metadata", {}).get("test_replace")
7171
if replace_dict is not None:

.github/labeler_files.yml

-17
This file was deleted.

.github/labeler_regexp.yml

-4
This file was deleted.

.github/workflows/codeql.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ jobs:
2626
- name: Set up Python
2727
uses: actions/setup-python@v5
2828
with:
29-
python-version: '3.7'
29+
python-version: '3.8'
3030
- name: Install dependencies
3131
run: |
3232
python -m pip install --upgrade pip

.github/workflows/labeler.yml

-31
This file was deleted.

0 commit comments

Comments
 (0)