File tree 2 files changed +14
-0
lines changed
2 files changed +14
-0
lines changed Original file line number Diff line number Diff line change 29
29
# WORKAROUND: Adding this option triggers actions/checkout#1467
30
30
# fetch-tags: true
31
31
32
+ # Also recursively fetch submodules
33
+ # WORKAROUND: Adding this option triggers actions/checkout#1959
34
+ # submodules: true
35
+
32
36
- name : >-
33
37
WORKAROUND: Fetch tags that points to the revisions
34
38
checked-out(actions/checkout#1467)
40
44
--depth=100 \
41
45
--no-recurse-submodules
42
46
47
+ - name : >-
48
+ WORKAROUND: Checkout submodules recursively(actions/checkout#1959)
49
+ run: |-
50
+ git submodule update \
51
+ --init \
52
+ --recursive
53
+
43
54
- name : Determine the project identifier
44
55
run : printf "project_id=${GITHUB_REPOSITORY##*/}\\n" >> $GITHUB_ENV
45
56
Original file line number Diff line number Diff line change 7
7
#
8
8
# Copyright 2024 林博仁(Buo-ren Lin) <[email protected] >
9
9
# SPDX-License-Identifier: CC-BY-SA-4.0 OR LicenseRef-Apache-2.0-If-Not-Used-In-Template-Projects
10
+ variables :
11
+ GIT_SUBMODULE_STRATEGY : recursive
12
+
10
13
do-static-analysis :
11
14
stage : test
12
15
rules :
You can’t perform that action at this time.
0 commit comments