Skip to content

Commit

Permalink
update node version to 16 as 12 has been deprecated
Browse files Browse the repository at this point in the history
  • Loading branch information
tuunit committed May 16, 2023
1 parent b770656 commit 88cec4e
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 11 deletions.
19 changes: 9 additions & 10 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ name: Update README

on:
schedule:
- cron: '*/30 * * * *'
- cron: "*/30 * * * *"
workflow_dispatch:

jobs:
Expand All @@ -28,7 +28,7 @@ jobs:
name: Update this repo's README with recent activity

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- uses: jamesgeorge007/github-activity-readme@master
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Expand All @@ -48,18 +48,17 @@ You can find an example [here](https://github.com/jamesgeorge007/jamesgeorge007/

Use the following `input params` to customize it for your use case:-

| Input Param | Default Value | Description |
|--------|--------|--------|
| `COMMIT_MSG` | :zap: Update README with the recent activity | Commit message used while committing to the repo |
| `MAX_LINES` | 5 | The maximum number of lines populated in your readme file |

| Input Param | Default Value | Description |
| ------------ | -------------------------------------------- | --------------------------------------------------------- |
| `COMMIT_MSG` | :zap: Update README with the recent activity | Commit message used while committing to the repo |
| `MAX_LINES` | 5 | The maximum number of lines populated in your readme file |

```yml
name: Update README
on:
schedule:
- cron: '*/30 * * * *'
- cron: "*/30 * * * *"
workflow_dispatch:
jobs:
Expand All @@ -68,12 +67,12 @@ jobs:
name: Update this repo's README with recent activity
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- uses: jamesgeorge007/github-activity-readme@master
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
COMMIT_MSG: 'Specify a custom commit message'
COMMIT_MSG: "Specify a custom commit message"
MAX_LINES: 10
```

Expand Down
2 changes: 1 addition & 1 deletion action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,5 +21,5 @@ branding:
icon: activity

runs:
using: node12
using: node16
main: dist/index.js

0 comments on commit 88cec4e

Please sign in to comment.