@@ -13,24 +13,24 @@ jobs:
13
13
name : Update automatically generated files
14
14
runs-on : ubuntu-latest
15
15
steps :
16
- - uses : actions/checkout@v3
16
+ - uses : actions/checkout@v4
17
17
with :
18
18
# don't checkout a detatched HEAD
19
19
ref : ${{ github.head_ref }}
20
20
21
21
# this is important so git log can pick up on
22
22
# the whole history to generate the list of AUTHORS
23
- fetch-depth : ' 0 '
23
+ fetch-depth : " 0 "
24
24
25
25
- name : Set up Git
26
26
run : |
27
27
git config --local user.email "41898282+github-actions[bot]@users.noreply.github.com"
28
28
git config --local user.name "github-actions[bot]"
29
29
30
- - uses : actions/setup-node@v2
30
+ - uses : actions/setup-node@v4
31
31
with :
32
32
node-version : ^16.x
33
- cache : ' npm'
33
+ cache : " npm"
34
34
35
35
- name : Install npm@8
36
36
run : |
@@ -50,41 +50,36 @@ jobs:
50
50
run : |
51
51
npm run update-authors
52
52
git add AUTHORS \*/AUTHORS
53
- git commit --no-allow-empty -m "chore: update AUTHORS" || true
54
53
55
54
- name : Generate Error Documentation
56
55
run : |
57
56
npm run generate-error-overview
58
57
mv error-overview.md error-overview.rst packages/errors/generated/
59
58
npm run reformat
60
59
git add packages/errors/generated
61
- git commit --no-allow-empty -m "chore: update error documentation" || true
62
60
63
61
- name : Regenerate Evergreen Config
64
62
run : |
65
63
npm run update-evergreen-config
66
64
git add .evergreen.yml
67
- git commit --no-allow-empty -m "chore: update evergreen config" || true
68
65
69
66
- name : Update Security Test Summary
70
67
run : |
71
68
npm run update-security-test-summary
72
69
git add docs/security-test-summary.md
73
- git commit --no-allow-empty -m "chore: update security test summary" || true
74
70
75
71
- name : Regenerate CLI usage text in README files
76
72
run : |
77
73
npm run update-cli-usage-text packages/*/*.md *.md
78
74
git add packages/*/*.md *.md
79
- git commit --no-allow-empty -m "chore: update CLI usage text" || true
80
75
81
76
- name : Create pull request
82
77
id : cpr
83
78
uses : peter-evans/create-pull-request@v6
84
79
with :
85
80
commit-message : Update auto-generated files
86
81
branch : ci/cron-tasks-update-files
87
- title : ' chore: update auto-generated files'
82
+ title : " chore: update auto-generated files"
88
83
body : |
89
84
- Update auto-generated files
90
85
0 commit comments