1212 runs-on : ubuntu-latest
1313
1414 steps :
15- - uses : actions/checkout@v2
15+ - uses : actions/checkout@v3
1616
17- - uses : actions/setup-node@v2
17+ - uses : actions/setup-node@v3
1818 with :
1919 node-version : 16
2020
@@ -34,10 +34,10 @@ jobs:
3434 - name : Check for modified files
3535 id : changes
3636 run : |
37- echo "::set-output name= files:: $(git ls-files -m)"
38- echo "::set-output name= count:: $(git ls-files -m | wc -l)"
37+ echo "files= $(git ls-files -m)" >>$GITHUB_OUTPUT
38+ echo "count= $(git ls-files -m | wc -l)" >>$GITHUB_OUTPUT
3939
40- - uses : actions/github-script@v3 .1.0
40+ - uses : actions/github-script@v6 .1.0
4141 if : github.event_name == 'pull_request' && steps.changes.outputs.count != 0
4242 with :
4343 github-token : ${{ secrets.GITHUB_TOKEN }}
@@ -53,22 +53,22 @@ jobs:
5353
5454 *Pusher: @${{ github.actor }}, Action: \`${{ github.event_name }}\`, Workflow: \`${{ github.workflow }}\`*`;
5555
56- github.issues.createComment({
56+ await github.rest .issues.createComment({
5757 issue_number: context.issue.number,
5858 owner: context.repo.owner,
5959 repo: context.repo.repo,
6060 body: output
6161 })
6262 - name : Update dist in the repository
6363 if : github.event_name != 'pull_request'
64- uses : stefanzweifel/git-auto-commit-action@v4.8.0
64+ uses : stefanzweifel/git-auto-commit-action@v4.14.1
6565 with :
6666 commit_message : " chore(ci): Updating dist"
6767 file_pattern : dist/*
6868
6969 - name : Update readme in the repository
7070 if : github.event_name != 'pull_request'
71- uses : stefanzweifel/git-auto-commit-action@v4.8.0
71+ uses : stefanzweifel/git-auto-commit-action@v4.14.1
7272 with :
7373 commit_message : " chore(ci): Updating README"
7474 file_pattern : README.md
0 commit comments