File tree 2 files changed +14
-6
lines changed
generate_workflows_lib/src/generate_workflows_lib
2 files changed +14
-6
lines changed Original file line number Diff line number Diff line change 22
22
steps:
23
23
- name: Checkout repo @ SHA - ${% raw %} {{ github.sha }}{% endraw %}
24
24
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" %}
26
39
27
40
- name: Set up Python 3.10
28
41
uses: actions/setup-python@v5
Original file line number Diff line number Diff line change @@ -118,11 +118,6 @@ jobs:
118
118
- name : Checkout repo @ SHA - ${{ github.sha }}
119
119
uses : actions/checkout@v4
120
120
121
- - name : Set up Python 3.10
122
- uses : actions/setup-python@v5
123
- with :
124
- python-version : " 3.10"
125
-
126
121
- name : Install tox
127
122
run : pip install tox
128
123
You can’t perform that action at this time.
0 commit comments