@@ -30,29 +30,29 @@ jobs:
30
30
startsWith(github.event.pull_request.title, 'ci: update workflows for docker-based projects') ||
31
31
startsWith(github.event.pull_request.title, 'chore(release):')
32
32
)) ||
33
- (github.actor == 'allcontributors' &&
33
+ (github.actor == 'allcontributors[bot] ' &&
34
34
startsWith(github.event.pull_request.title, 'docs: add')
35
35
)
36
36
)
37
37
id: should_run
38
38
name: Should Run
39
- run: echo "::set-output name= shouldrun:: true"
39
+ run: echo "shouldrun= true" >> $GITHUB_OUTPUT
40
40
- if : steps.should_run.outputs.shouldrun == 'true'
41
41
name : Set git to use LF # to once and for all finish neverending fight between Unix and Windows
42
42
run : |
43
43
git config --global core.autocrlf false
44
44
git config --global core.eol lf
45
45
- if : steps.should_run.outputs.shouldrun == 'true'
46
46
name : Checkout repository
47
- uses : actions/checkout@v2
47
+ uses : actions/checkout@v3
48
48
- if : steps.should_run.outputs.shouldrun == 'true'
49
49
name : Check if Node.js project and has package.json
50
50
id : packagejson
51
- run : test -e ./package.json && echo "::set-output name= exists:: true" || echo "::set-output name= exists:: false"
51
+ run : test -e ./package.json && echo "exists= true" >> $GITHUB_OUTPUT || echo "exists= false" >> $GITHUB_OUTPUT
52
52
shell : bash
53
53
- if : steps.packagejson.outputs.exists == 'true'
54
54
name : Setup Node.js
55
- uses : actions/setup-node@v2
55
+ uses : actions/setup-node@v3
56
56
with :
57
57
node-version : 14
58
58
cache : ' npm'
0 commit comments