Skip to content

Commit 6f46e45

Browse files
committed
fix: escape gitea references
1 parent 65551f3 commit 6f46e45

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

template/.gitea/workflows/ci.yml.jinja

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -44,34 +44,34 @@ jobs:
4444
- name: Setup Python
4545
uses: actions/setup-python@v5
4646
with:
47-
python-version: ${{ inputs.PYTHON_VERSION || '3.11' }}
47+
python-version: "{% raw %}${{ inputs.PYTHON_VERSION || '3.11' }}{% endraw %}"
4848

4949
- name: Checkout BEC Core
5050
uses: actions/checkout@v4
5151
with:
5252
repository: bec/bec
53-
ref: ${{ inputs.BEC_CORE_BRANCH || 'main' }}
53+
ref: "{% raw %}${{ inputs.BEC_CORE_BRANCH || 'main' }}{% endraw %}"
5454
path: ./bec
5555

5656
- name: Checkout Ophyd Devices
5757
uses: actions/checkout@v4
5858
with:
5959
repository: bec/ophyd_devices
60-
ref: ${{ inputs.OPHYD_DEVICES_BRANCH || 'main' }}
60+
ref: "{% raw %}${{ inputs.OPHYD_DEVICES_BRANCH || 'main' }}{% endraw %}"
6161
path: ./ophyd_devices
6262

6363
- name: Checkout BEC Widgets
6464
uses: actions/checkout@v4
6565
with:
6666
repository: bec/bec_widgets
67-
ref: ${{ inputs.BEC_WIDGETS_BRANCH || 'main' }}
67+
ref: "{% raw %}${{ inputs.BEC_WIDGETS_BRANCH || 'main' }}{% endraw %}"
6868
path: ./bec_widgets
6969

7070
- name: Checkout BEC Plugin Repository
7171
uses: actions/checkout@v4
7272
with:
7373
repository: bec/{{ project_name }}
74-
ref: ${{ inputs.BEC_PLUGIN_REPO_BRANCH || github.head_ref || github.sha }}
74+
ref: "{% raw %}${{ inputs.BEC_PLUGIN_REPO_BRANCH || github.head_ref || github.sha }}{% endraw %}"
7575
path: ./{{ project_name }}
7676

7777
- name: Install dependencies

0 commit comments

Comments
 (0)