{"id":13529308,"url":"https://github.com/actions/hello-world-javascript-action","last_synced_at":"2025-05-15T05:06:10.130Z","repository":{"id":41125027,"uuid":"200423311","full_name":"actions/hello-world-javascript-action","owner":"actions","description":"A template to demonstrate how to build a JavaScript action.","archived":false,"fork":false,"pushed_at":"2025-05-12T15:25:34.000Z","size":4091,"stargazers_count":269,"open_issues_count":2,"forks_count":238,"subscribers_count":25,"default_branch":"main","last_synced_at":"2025-05-14T04:31:51.854Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://docs.github.com/en/actions/creating-actions/creating-a-javascript-action","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/actions.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":"CODEOWNERS","security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2019-08-03T21:40:41.000Z","updated_at":"2025-05-13T10:54:07.000Z","dependencies_parsed_at":"2024-01-10T23:01:54.822Z","dependency_job_id":"45e1aade-4b7f-458f-8a5e-ce918a2e1146","html_url":"https://github.com/actions/hello-world-javascript-action","commit_stats":{"total_commits":112,"total_committers":8,"mean_commits":14.0,"dds":0.4910714285714286,"last_synced_commit":"f1ebe99d04b8bb7ddc2f865b5cc1f214128a052a"},"previous_names":[],"tags_count":2,"template":true,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/actions%2Fhello-world-javascript-action","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/actions%2Fhello-world-javascript-action/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/actions%2Fhello-world-javascript-action/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/actions%2Fhello-world-javascript-action/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/actions","download_url":"https://codeload.github.com/actions/hello-world-javascript-action/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254276447,"owners_count":22043867,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-08-01T07:00:35.252Z","updated_at":"2025-05-15T05:06:07.209Z","avatar_url":"https://github.com/actions.png","language":"JavaScript","funding_links":[],"categories":["Official Resources","三、自定义Action开发"],"sub_categories":["Create your Actions","3. 编程语言环境配置"],"readme":"# Hello, World! JavaScript Action\n\n[![GitHub Super-Linter](https://github.com/actions/hello-world-javascript-action/actions/workflows/linter.yml/badge.svg)](https://github.com/super-linter/super-linter)\n![CI](https://github.com/actions/hello-world-javascript-action/actions/workflows/ci.yml/badge.svg)\n\nThis action prints `Hello, World!` or `Hello, \u003cwho-to-greet\u003e!` to the log. To\nlearn how this action was built, see\n[Creating a JavaScript action](https://docs.github.com/en/actions/creating-actions/creating-a-javascript-action).\n\n## Create Your Own Action\n\nTo create your own action, you can use this repository as a template! Just\nfollow the below instructions:\n\n1. Click the **Use this template** button at the top of the repository\n1. Select **Create a new repository**\n1. Select an owner and name for your new repository\n1. Click **Create repository**\n1. Clone your new repository\n\n\u003e [!CAUTION]\n\u003e\n\u003e Make sure to remove or update the [`CODEOWNERS`](./CODEOWNERS) file! For\n\u003e details on how to use this file, see\n\u003e [About code owners](https://docs.github.com/en/repositories/managing-your-repositorys-settings-and-features/customizing-your-repository/about-code-owners).\n\n## Usage\n\nHere's an example of how to use this action in a workflow file:\n\n```yaml\nname: Example Workflow\n\non:\n  workflow_dispatch:\n    inputs:\n      who-to-greet:\n        description: Who to greet in the log\n        required: true\n        default: 'World'\n        type: string\n\njobs:\n  say-hello:\n    name: Say Hello\n    runs-on: ubuntu-latest\n\n    steps:\n      # Change @main to a specific commit SHA or version tag, e.g.:\n      # actions/hello-world-javascript-action@e76147da8e5c81eaf017dede5645551d4b94427b\n      # actions/hello-world-javascript-action@v1.2.3\n      - name: Print to Log\n        id: print-to-log\n        uses: actions/hello-world-javascript-action@main\n        with:\n          who-to-greet: ${{ inputs.who-to-greet }}\n```\n\nFor example workflow runs, check out the\n[Actions tab](https://github.com/actions/hello-world-javascript-action/actions)!\n🚀\n\n## Inputs\n\n| Input          | Default | Description                     |\n| -------------- | ------- | ------------------------------- |\n| `who-to-greet` | `World` | The name of the person to greet |\n\n## Outputs\n\n| Output | Description             |\n| ------ | ----------------------- |\n| `time` | The time we greeted you |\n\n## Dependency License Management\n\nThis template includes a GitHub Actions workflow,\n[`licensed.yml`](./.github/workflows/licensed.yml), that uses\n[Licensed](https://github.com/licensee/licensed) to check for dependencies with\nmissing or non-compliant licenses. This workflow is initially disabled. To\nenable the workflow, follow the below steps.\n\n1. Open [`licensed.yml`](./.github/workflows/licensed.yml)\n1. Uncomment the following lines:\n\n   ```yaml\n   # pull_request:\n   #   branches:\n   #     - main\n   # push:\n   #   branches:\n   #     - main\n   ```\n\n1. Save and commit the changes\n\nOnce complete, this workflow will run any time a pull request is created or\nchanges pushed directly to `main`. If the workflow detects any dependencies with\nmissing or non-compliant licenses, it will fail the workflow and provide details\non the issue(s) found.\n\n### Updating Licenses\n\nWhenever you install or update dependencies, you can use the Licensed CLI to\nupdate the licenses database. To install Licensed, see the project's\n[Readme](https://github.com/licensee/licensed?tab=readme-ov-file#installation).\n\nTo update the cached licenses, run the following command:\n\n```bash\nlicensed cache\n```\n\nTo check the status of cached licenses, run the following command:\n\n```bash\nlicensed status\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Factions%2Fhello-world-javascript-action","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Factions%2Fhello-world-javascript-action","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Factions%2Fhello-world-javascript-action/lists"}