Commit 41a2d54 1 parent c48a5dd commit 41a2d54 Copy full SHA for 41a2d54
File tree 4 files changed +8
-7
lines changed
4 files changed +8
-7
lines changed Original file line number Diff line number Diff line change
1
+ * @ tuunit @ jamesgeorge007
Original file line number Diff line number Diff line change @@ -10,10 +10,10 @@ jobs:
10
10
11
11
steps :
12
12
- uses : actions/checkout@v4
13
- - name : Use Node 16
13
+ - name : Use Node 20
14
14
uses : actions/setup-node@v4
15
15
with :
16
- node-version : 16
16
+ node-version : 20
17
17
- run : npm ci
18
18
- run : npm run format:check
19
19
- run : npm run build
Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ inputs:
17
17
required : false
18
18
COMMIT_MSG :
19
19
description : " Commit message used while committing to the repo"
20
- default : " :zap: chore(readme): Update README with the recent activity"
20
+ default : " :zap: Update README with the recent activity"
21
21
required : false
22
22
MAX_LINES :
23
23
description : " The maximum number of lines populated in your readme file"
@@ -29,7 +29,7 @@ inputs:
29
29
required : false
30
30
EMPTY_COMMIT_MSG :
31
31
description : " Commit message used when there are no updates"
32
- default : " :memo: chore(readme): dummy commit to keep the repository active"
32
+ default : " :memo: empty commit to keep workflow active after 60 days of no activity "
33
33
required : false
34
34
branding :
35
35
color : yellow
Original file line number Diff line number Diff line change @@ -117,10 +117,10 @@ const emptyCommit = async () => {
117
117
const diffInDays = Math . round (
118
118
( new Date ( ) - commitDate ) / ( 1000 * 60 * 60 * 24 ) ,
119
119
) ;
120
- if ( diffInDays > 50 ) {
121
- core . info ( "Doing dummy commit to keep workflow active" ) ;
120
+ if ( diffInDays > 60 ) {
121
+ core . info ( "Create empty commit to keep workflow active" ) ;
122
122
await commitFile ( true ) ;
123
- tools . exit . success ( "Dummy commit done " ) ;
123
+ tools . exit . success ( "Empty commit pushed. " ) ;
124
124
}
125
125
tools . exit . success (
126
126
"No PullRequest/Issue/IssueComment/Release events found. Leaving README unchanged with previous activity" ,
You can’t perform that action at this time.
0 commit comments