File tree 1 file changed +29
-0
lines changed
1 file changed +29
-0
lines changed Original file line number Diff line number Diff line change
1
+ name : " tools update"
2
+ on :
3
+ schedule :
4
+ # Run once a week at 00:05 AM UTC on Saturday.
5
+ - cron : ' 5 0 * * 6'
6
+
7
+ workflow_dispatch :
8
+
9
+ jobs :
10
+ tools_update :
11
+ if : github.repository == 'nodejs/node'
12
+ runs-on : ubuntu-latest
13
+ steps :
14
+ - uses : actions/checkout@v2
15
+ - run : tools/update-eslint.sh
16
+ - run : tools/update-babel-eslint.sh
17
+ - run : |
18
+ (cd tools/lint-md && rm -rf package-lock.json node_modules && npm install --ignore-scripts)
19
+ make lint-md-rollup
20
+ - uses : gr2m/create-or-update-pull-request-action@v1 # Create a PR or update the Action's existing PR
21
+ env :
22
+ GITHUB_TOKEN : ${{ secrets.GH_USER_TOKEN }}
23
+ with :
24
+ author : Node.js GitHub Bot <github-bot@iojs.org>
25
+ body : " This is an automated update of dependencies in the tools directory."
26
+ branch : " actions/tools-update" # Custom branch *just* for this Action.
27
+ commit-message : " tools: update tools packages"
28
+ labels : tools
29
+ title : " tools: update tools packages"
You can’t perform that action at this time.
0 commit comments