Skip to content

Commit a2c78d2

Browse files
authored
Merge pull request #288 from npalm/develop
chore: Release
2 parents d133b7d + fb78f55 commit a2c78d2

7 files changed

Lines changed: 1361 additions & 166 deletions

File tree

.github/workflows/ci.yml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,9 @@ jobs:
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

README.md

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -29,23 +29,18 @@ The action will not commit any change, to ensure the changes are persisted you c
2929
## Inputs
3030
3131
| parameter | description | required | default |
32-
| - | - | - | - |
32+
| --- | --- | --- | --- |
3333
| readme | Readme file to update. | `false` | README.md |
3434
| actionFile | THe action definition file. | `false` | action.yml |
3535
| tocLevel | TOC level used for the headers. | `false` | 2 |
3636
| lineBreaks | Line breaks to be used in updated readme (LF|CR|CRLF). | `false` | LF |
37-
38-
39-
4037
<!-- action-docs-inputs -->
4138

4239

4340
<!-- action-docs-runs -->
4441
## Runs
4542

4643
This action is a `node16` action.
47-
48-
4944
<!-- action-docs-runs -->
5045
## License
5146

0 commit comments

Comments
 (0)