File tree 9 files changed +20
-19
lines changed
9 files changed +20
-19
lines changed Original file line number Diff line number Diff line change 8
8
jobs :
9
9
send-close-signal :
10
10
name : " Send closing signal"
11
- runs-on : ubuntu-latest
11
+ runs-on : ubuntu-22.04
12
12
if : ${{ github.event.action == 'closed' }}
13
13
steps :
14
14
- name : " Create PRtifact"
20
20
with :
21
21
name : pr
22
22
path : ./pr
23
-
Original file line number Diff line number Diff line change 20
20
# - no .github files were committed
21
21
test-pr :
22
22
name : " Test if pull request is valid"
23
- runs-on : ubuntu-latest
23
+ runs-on : ubuntu-22.04
24
24
if : >
25
25
github.event.workflow_run.event == 'pull_request' &&
26
26
github.event.workflow_run.conclusion == 'success'
74
74
create-branch :
75
75
name : " Create Git Branch"
76
76
needs : test-pr
77
- runs-on : ubuntu-latest
77
+ runs-on : ubuntu-22.04
78
78
if : ${{ needs.test-pr.outputs.is_valid == 'true' }}
79
79
env :
80
80
NR : ${{ needs.test-pr.outputs.number }}
@@ -120,7 +120,7 @@ jobs:
120
120
comment-pr :
121
121
name : " Comment on Pull Request"
122
122
needs : [test-pr, create-branch]
123
- runs-on : ubuntu-latest
123
+ runs-on : ubuntu-22.04
124
124
if : ${{ needs.test-pr.outputs.is_valid == 'true' }}
125
125
env :
126
126
NR : ${{ needs.test-pr.outputs.number }}
@@ -150,7 +150,7 @@ jobs:
150
150
comment-changed-workflow :
151
151
name : " Comment if workflow files have changed"
152
152
needs : test-pr
153
- runs-on : ubuntu-latest
153
+ runs-on : ubuntu-22.04
154
154
if : ${{ always() && needs.test-pr.outputs.is_valid == 'false' }}
155
155
env :
156
156
NR : ${{ github.event.workflow_run.pull_requests[0].number }}
@@ -182,4 +182,3 @@ jobs:
182
182
with :
183
183
pr : ${{ env.NR }}
184
184
body : ${{ env.body }}
185
-
Original file line number Diff line number Diff line change 9
9
jobs :
10
10
delete :
11
11
name : " Delete branch from Pull Request"
12
- runs-on : ubuntu-latest
12
+ runs-on : ubuntu-22.04
13
13
if : >
14
14
github.event.workflow_run.event == 'pull_request' &&
15
15
github.event.workflow_run.conclusion == 'success'
Original file line number Diff line number Diff line change 11
11
test-pr :
12
12
name : " Test if pull request is valid"
13
13
if : ${{ github.event.action != 'closed' }}
14
- runs-on : ubuntu-latest
14
+ runs-on : ubuntu-22.04
15
15
outputs :
16
16
is_valid : ${{ steps.check-pr.outputs.VALID }}
17
17
permissions :
Original file line number Diff line number Diff line change 13
13
test-pr :
14
14
name : " Record PR number"
15
15
if : ${{ github.event.action != 'closed' }}
16
- runs-on : ubuntu-latest
16
+ runs-on : ubuntu-22.04
17
17
outputs :
18
18
is_valid : ${{ steps.check-pr.outputs.VALID }}
19
19
steps :
48
48
build-md-source :
49
49
name : " Build markdown source files if valid"
50
50
needs : test-pr
51
- runs-on : ubuntu-latest
51
+ runs-on : ubuntu-22.04
52
52
if : ${{ needs.test-pr.outputs.is_valid == 'true' }}
53
53
env :
54
54
GITHUB_PAT : ${{ secrets.GITHUB_TOKEN }}
Original file line number Diff line number Diff line change 21
21
jobs :
22
22
full-build :
23
23
name : " Build Full Site"
24
- runs-on : ubuntu-latest
24
+
25
+ # 2024-10-01: ubuntu-latest is now 24.04 and R is not installed by default in the runner image
26
+ # pin to 22.04 for now
27
+ runs-on : ubuntu-22.04
25
28
permissions :
26
29
checks : write
27
30
contents : write
Original file line number Diff line number Diff line change 1
- 0.16.7
1
+ 0.16.9
Original file line number Diff line number Diff line change 14
14
jobs :
15
15
preflight :
16
16
name : " Preflight Check"
17
- runs-on : ubuntu-latest
17
+ runs-on : ubuntu-22.04
18
18
outputs :
19
19
ok : ${{ steps.check.outputs.ok }}
20
20
steps :
36
36
37
37
check_renv :
38
38
name : " Check if We Need {renv}"
39
- runs-on : ubuntu-latest
39
+ runs-on : ubuntu-22.04
40
40
needs : preflight
41
41
if : ${{ needs.preflight.outputs.ok == 'true'}}
42
42
outputs :
52
52
53
53
check_token :
54
54
name : " Check SANDPAPER_WORKFLOW token"
55
- runs-on : ubuntu-latest
55
+ runs-on : ubuntu-22.04
56
56
needs : check_renv
57
57
if : ${{ needs.check_renv.outputs.needed == 'true' }}
58
58
outputs :
69
69
name : " Update Package Cache"
70
70
needs : check_token
71
71
if : ${{ needs.check_token.outputs.repo== 'true' }}
72
- runs-on : ubuntu-latest
72
+ runs-on : ubuntu-22.04
73
73
env :
74
74
GITHUB_PAT : ${{ secrets.GITHUB_TOKEN }}
75
75
RENV_PATHS_ROOT : ~/.local/share/renv/
Original file line number Diff line number Diff line change 18
18
jobs :
19
19
check_token :
20
20
name : " Check SANDPAPER_WORKFLOW token"
21
- runs-on : ubuntu-latest
21
+ runs-on : ubuntu-22.04
22
22
outputs :
23
23
workflow : ${{ steps.validate.outputs.wf }}
24
24
repo : ${{ steps.validate.outputs.repo }}
31
31
32
32
update_workflow :
33
33
name : " Update Workflow"
34
- runs-on : ubuntu-latest
34
+ runs-on : ubuntu-22.04
35
35
needs : check_token
36
36
if : ${{ needs.check_token.outputs.workflow == 'true' }}
37
37
steps :
You can’t perform that action at this time.
0 commit comments