File tree Expand file tree Collapse file tree 4 files changed +17
-11
lines changed Expand file tree Collapse file tree 4 files changed +17
-11
lines changed Original file line number Diff line number Diff line change 18
18
19
19
# Check out current repository
20
20
- name : checkout
21
- uses : actions/checkout@v3
21
+ uses : actions/checkout@v4
22
22
with :
23
23
fetch-depth : 0
24
24
Original file line number Diff line number Diff line change 14
14
runs-on : ubuntu-latest
15
15
steps :
16
16
- name : Checkout
17
- uses : actions/checkout@v3
17
+ uses : actions/checkout@v4
18
18
with :
19
19
fetch-depth : 0
20
+ token : ${{ secrets.GH_PAT }}
20
21
21
22
# Use the yaml-env-action action.
22
23
- name : Load environment from YAML
41
42
git push --set-upstream origin $branch_name
42
43
shell : bash
43
44
45
+
44
46
outputs :
45
47
toggle_spell_check : " ${{ env.SPELL_CHECK }}"
46
48
toggle_style_code : " ${{ env.STYLE_CODE }}"
59
61
check_type : spelling
60
62
error_min : 3
61
63
gh_pat : secrets.GH_PAT
64
+ branch_name : ${GITHUB_HEAD_REF}
62
65
63
66
url-check :
64
67
name : Check URLs
69
72
check_type : urls
70
73
error_min : 0
71
74
gh_pat : secrets.GH_PAT
75
+ branch_name : ${GITHUB_HEAD_REF}
72
76
73
77
quiz-check :
74
78
name : Check quiz formatting
79
83
check_type : quiz_format
80
84
error_min : 0
81
85
gh_pat : secrets.GH_PAT
86
+ branch_name : ${GITHUB_HEAD_REF}
82
87
83
88
# ############################ Style the code ###################################
84
89
style-code :
91
96
92
97
steps :
93
98
- name : Checkout files
94
- uses : actions/checkout@v3
99
+ uses : actions/checkout@v4
95
100
with :
96
101
fetch-depth : 0
97
102
@@ -117,7 +122,7 @@ jobs:
117
122
118
123
steps :
119
124
- name : Checkout files
120
- uses : actions/checkout@v3
125
+ uses : actions/checkout@v4
121
126
with :
122
127
fetch-depth : 0
123
128
Original file line number Diff line number Diff line change 10
10
paths :
11
11
- ' **.Rmd'
12
12
- assets/*
13
+ - quizzes/*
13
14
14
15
jobs :
15
16
18
19
runs-on : ubuntu-latest
19
20
steps :
20
21
- name : Checkout
21
- uses : actions/checkout@v3
22
+ uses : actions/checkout@v4
22
23
23
24
# Use the yaml-env-action action.
24
25
- name : Load environment from YAML
43
44
44
45
steps :
45
46
- name : checkout
46
- uses : actions/checkout@v3
47
+ uses : actions/checkout@v4
47
48
with :
48
49
fetch-depth : 0
49
50
token : ${{ secrets.GH_PAT }}
95
96
96
97
steps :
97
98
- name : checkout
98
- uses : actions/checkout@v3
99
+ uses : actions/checkout@v4
99
100
with :
100
101
fetch-depth : 0
101
102
token : ${{ secrets.GH_PAT }}
@@ -134,7 +135,7 @@ jobs:
134
135
135
136
steps :
136
137
- name : checkout
137
- uses : actions/checkout@v3
138
+ uses : actions/checkout@v4
138
139
with :
139
140
fetch-depth : 0
140
141
token : ${{ secrets.GH_PAT }}
@@ -210,7 +211,7 @@ jobs:
210
211
211
212
steps :
212
213
- name : checkout
213
- uses : actions/checkout@v3
214
+ uses : actions/checkout@v4
214
215
with :
215
216
fetch-depth : 0
216
217
token : ${{ secrets.GH_PAT }}
Original file line number Diff line number Diff line change 21
21
runs-on : ubuntu-latest
22
22
steps :
23
23
- name : Checkout
24
- uses : actions/checkout@v3
24
+ uses : actions/checkout@v4
25
25
26
26
# Use the yaml-env-action action.
27
27
- name : Load environment from YAML
65
65
66
66
- name : Checkout code from Leanpub repo
67
67
if : ${{ steps.git_repo_check.outputs.git_results == 'TRUE' }}
68
- uses : actions/checkout@v3
68
+ uses : actions/checkout@v4
69
69
with :
70
70
repository : ${{ steps.git_repo_check.outputs.leanpub_repo }}
71
71
token : ${{ secrets.GH_PAT }}
You can’t perform that action at this time.
0 commit comments