File tree Expand file tree Collapse file tree 7 files changed +19894
-19806
lines changed Expand file tree Collapse file tree 7 files changed +19894
-19806
lines changed Original file line number Diff line number Diff line change 99 runs-on : ubuntu-latest
1010
1111 steps :
12- - uses : actions/checkout@v3
13- - name : Use Node 16
14- uses : actions/setup-node@v3
12+ - uses : actions/checkout@v4
13+ - name : Use Node 20
14+ uses : actions/setup-node@v4
1515 with :
16- node-version : 16
16+ node-version : 20
1717 - run : npm ci
1818 - run : npm run format:check
1919 - run : npm run build
Original file line number Diff line number Diff line change @@ -49,14 +49,15 @@ You can find an example [here](https://github.com/jamesgeorge007/jamesgeorge007/
4949
5050Use the following `input params` to customize it for your use case:-
5151
52- | Input Param | Default Value | Description |
53- | -------------- | ----------------------------------------------------- | --------------------------------------------------------- |
54- | `GH_USERNAME` | Your GitHub username | Username for which to generate the activity overview |
55- | `COMMIT_NAME` | github-actions[bot] | Name of the committer |
56- | `COMMIT_EMAIL` | 41898282+github-actions[bot]@users.noreply.github.com | Email of the committer |
57- | `COMMIT_MSG` | :zap : Update README with the recent activity | Commit message used while committing to the repo |
58- | `MAX_LINES` | 5 | The maximum number of lines populated in your readme file |
59- | `TARGET_FILE` | README.md | The file to insert recent activity into |
52+ | Input Param | Default Value | Description |
53+ | ------------------ | ------------------------------------------------------------------------ | --------------------------------------------------------- |
54+ | `GH_USERNAME` | Your GitHub username | Username for which to generate the activity overview |
55+ | `COMMIT_NAME` | github-actions[bot] | Name of the committer |
56+ | `COMMIT_EMAIL` | 41898282+github-actions[bot]@users.noreply.github.com | Email of the committer |
57+ | `COMMIT_MSG` | :zap : Update README with the recent activity | Commit message used while committing to the repo |
58+ | `EMPTY_COMMIT_MSG` | :memo : empty commit to keep workflow active after 60 days of no activity | Commit message used when there are no updates |
59+ | `MAX_LINES` | 5 | The maximum number of lines populated in your readme file |
60+ | `TARGET_FILE` | README.md | The file to insert recent activity into |
6061
6162` ` ` yml
6263name: Update README
Original file line number Diff line number Diff line change @@ -27,10 +27,14 @@ inputs:
2727 description : " The file location to write changes to"
2828 default : " README.md"
2929 required : false
30+ EMPTY_COMMIT_MSG :
31+ description : " Commit message used when there are no updates"
32+ default : " :memo: empty commit to keep workflow active after 60 days of no activity"
33+ required : false
3034branding :
3135 color : yellow
3236 icon : activity
3337
3438runs :
35- using : node16
39+ using : node20
3640 main : dist/index.js
You can’t perform that action at this time.
0 commit comments