Skip to content

Commit

Permalink
Improve action description (#1)
Browse files Browse the repository at this point in the history
## what
* Improve action description
* Update node
* Update npm packages

## why
* Have nice readme
* Avoid depreciation messages
  • Loading branch information
goruha authored Nov 23, 2023
1 parent 66b0edf commit 02c9afb
Show file tree
Hide file tree
Showing 354 changed files with 35,805 additions and 1,611 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/auto-readme.yml
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ jobs:
body: |-
## what
This is an auto-generated PR that updates the README.md and docs
## why
To have most recent changes of README.md and doc from origin templates
Expand All @@ -72,4 +72,4 @@ jobs:
labels: |
auto-update
no-release
readme
readme
2 changes: 1 addition & 1 deletion .github/workflows/feature-branch.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,4 @@ jobs:
repository: "${{ github.event.repository.name }}"
ref: "${{ github.event.pull_request.head.ref }}"
secrets:
github-private-actions-pat: "${{ secrets.PUBLIC_REPO_ACCESS_TOKEN }}"
github-private-actions-pat: "${{ secrets.PUBLIC_REPO_ACCESS_TOKEN }}"
2 changes: 1 addition & 1 deletion .github/workflows/test-negative.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ on:
# #
# # Added pull_request to register workflow from the PR.
# # Read more https://stackoverflow.com/questions/63362126/github-actions-how-to-run-a-workflow-created-on-a-non-master-branch-from-the-wo
pull_request: {}
# pull_request: {}
workflow_dispatch: {}

jobs:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test-positive.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ on:
# #
# # Added pull_request to register workflow from the PR.
# # Read more https://stackoverflow.com/questions/63362126/github-actions-how-to-run-a-workflow-created-on-a-non-master-branch-from-the-wo
pull_request: {}
# pull_request: {}
workflow_dispatch: {}

jobs:
Expand Down
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
.build-harness
build-harness
build-harness
2 changes: 1 addition & 1 deletion .licenses/npm/@actions/core.dep.yml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

30 changes: 10 additions & 20 deletions .licenses/npm/@actions/exec.dep.yml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions .licenses/npm/@actions/http-client.dep.yml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion .licenses/npm/@actions/io.dep.yml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion .licenses/npm/@actions/tool-cache.dep.yml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

30 changes: 30 additions & 0 deletions .licenses/npm/@fastify/busboy.dep.yml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions .licenses/npm/semver.dep.yml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

34 changes: 34 additions & 0 deletions .licenses/npm/undici.dep.yml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

20 changes: 20 additions & 0 deletions .licenses/npm/uuid-8.3.2.dep.yml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

12 changes: 6 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -96,18 +96,18 @@ It's 100% Open Source and licensed under the [MIT](LICENSE).
| Name | Description | Default | Required |
|------|-------------|---------|----------|
| compact | compact | false | false |
| input | input | N/A | true |
| raw-output | raw-output | false | false |
| remove-trailing-newline | remove-trailing-newline | true | false |
| script | script | N/A | true |
| compact | Compact instead of pretty-printed output | false | false |
| input | JSON formated string | N/A | true |
| raw-output | Output raw strings, not JSON texts | false | false |
| remove-trailing-newline | Remove trailing newline | true | false |
| script | JQ query string | N/A | true |
## Outputs
| Name | Description |
|------|-------------|
| output | output from the jq command |
| output | Output from the jq command |
<!-- markdownlint-restore -->
Expand Down
2 changes: 1 addition & 1 deletion README.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ usage: |-
jobs:
example:
outputs:
result: "${{ steps.current.outputs.output }}"
result: "${{ steps.current.outputs.output }}"
steps:
- uses: cloudposse/github-action-jq@main
id: current
Expand Down
9 changes: 7 additions & 2 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,23 +2,28 @@ name: 'JQ Script'
description: 'Run JQ on a JSON value'
inputs:
input:
description: JSON formated string
required: true
script:
description: JQ query string
required: true
compact:
description: Compact instead of pretty-printed output
required: false
default: 'false'
raw-output:
description: Output raw strings, not JSON texts
required: false
default: 'false'
remove-trailing-newline:
description: Remove trailing newline
required: false
default: 'true'
outputs:
output:
description: 'output from the jq command'
description: Output from the jq command
runs:
using: 'node12'
using: 'node16'
main: 'index.js'
branding:
icon: chevron-right
Expand Down
12 changes: 6 additions & 6 deletions docs/github-action.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,16 +4,16 @@

| Name | Description | Default | Required |
|------|-------------|---------|----------|
| compact | compact | false | false |
| input | input | N/A | true |
| raw-output | raw-output | false | false |
| remove-trailing-newline | remove-trailing-newline | true | false |
| script | script | N/A | true |
| compact | Compact instead of pretty-printed output | false | false |
| input | JSON formated string | N/A | true |
| raw-output | Output raw strings, not JSON texts | false | false |
| remove-trailing-newline | Remove trailing newline | true | false |
| script | JQ query string | N/A | true |


## Outputs

| Name | Description |
|------|-------------|
| output | output from the jq command |
| output | Output from the jq command |
<!-- markdownlint-restore -->
File renamed without changes.
2 changes: 1 addition & 1 deletion node_modules/.bin/uuid

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 02c9afb

Please sign in to comment.