Skip to content

Commit 5fc843a

Browse files
committed
Consider public-symbols-check
1 parent 256670c commit 5fc843a

File tree

2 files changed

+14
-6
lines changed

2 files changed

+14
-6
lines changed

.github/workflows/generate_workflows_lib/src/generate_workflows_lib/misc.yml.j2

+14-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,20 @@ jobs:
2222
steps:
2323
- name: Checkout repo @ SHA - ${% raw %}{{ github.sha }}{% endraw %}
2424
uses: actions/checkout@v4
25-
{%- if job_data.os != "shellcheck" %}
25+
{%- if job_data == "public-symbols-check" %}
26+
with:
27+
fetch-depth: 0
28+
29+
- name: Checkout main
30+
run: git checkout main
31+
32+
- name: Pull origin
33+
run: git pull --rebase=false origin main
34+
35+
- name: Checkout pull request
36+
run: git checkout ${% raw %}{{ github.event.pull_request.head.sha }}{% endraw %}
37+
{%- endif %}
38+
{%- if job_data != "shellcheck" %}
2639

2740
- name: Set up Python 3.10
2841
uses: actions/setup-python@v5

.github/workflows/misc_0.yml

-5
Original file line numberDiff line numberDiff line change
@@ -118,11 +118,6 @@ jobs:
118118
- name: Checkout repo @ SHA - ${{ github.sha }}
119119
uses: actions/checkout@v4
120120

121-
- name: Set up Python 3.10
122-
uses: actions/setup-python@v5
123-
with:
124-
python-version: "3.10"
125-
126121
- name: Install tox
127122
run: pip install tox
128123

0 commit comments

Comments
 (0)