A template to demonstrate how to build a JavaScript action.
Go to file
dependabot[bot] c4188d352e
Bump @babel/eslint-parser from 7.22.15 to 7.23.3
Bumps [@babel/eslint-parser](https://github.com/babel/babel/tree/HEAD/eslint/babel-eslint-parser) from 7.22.15 to 7.23.3.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/commits/v7.23.3/eslint/babel-eslint-parser)

---
updated-dependencies:
- dependency-name: "@babel/eslint-parser"
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-11-16 19:18:48 +00:00
.github Change dependabot schedule 2023-11-16 10:28:42 -05:00
__tests__ Convert to use src and dist paths 2023-09-15 10:56:32 -04:00
badges Convert to use src and dist paths 2023-09-15 10:56:32 -04:00
dist Convert to use src and dist paths 2023-09-15 10:56:32 -04:00
src Convert to use src and dist paths 2023-09-15 10:56:32 -04:00
.eslintignore Move linting and license handling 2023-09-15 10:54:58 -04:00
.gitattributes Add Licensed to verify third party dependencies 2020-09-09 15:10:27 -04:00
.gitignore Remove node_modules 2023-09-15 10:58:20 -04:00
.licensed.yml Add Licensed to verify third party dependencies 2020-09-09 15:10:27 -04:00
.prettierignore Move linting and license handling 2023-09-15 10:54:58 -04:00
.prettierrc.json Move linting and license handling 2023-09-15 10:54:58 -04:00
CODEOWNERS Convert to use src and dist paths 2023-09-15 10:56:32 -04:00
LICENSE Update LICENSE to standard 2023-11-16 10:28:38 -05:00
README.md Convert to use src and dist paths 2023-09-15 10:56:32 -04:00
action.yml Format action.yml 2023-09-15 10:55:34 -04:00
package-lock.json Bump @babel/eslint-parser from 7.22.15 to 7.23.3 2023-11-16 19:18:48 +00:00
package.json Bump @babel/eslint-parser from 7.22.15 to 7.23.3 2023-11-16 19:18:48 +00:00

Hello, World! JavaScript Action

GitHub Super-Linter CI

This action prints Hello, World! or Hello, <who-to-greet>! to the log. To learn how this action was built, see Creating a JavaScript action.

Usage

Here's an example of how to use this action in a workflow file:

name: Example Workflow

on:
  workflow_dispatch:
    inputs:
      who-to-greet:
        description: Who to greet in the log
        required: true
        default: 'World'
        type: string

jobs:
  say-hello:
    name: Say Hello
    runs-on: ubuntu-latest

    steps:
      # Change @main to a specific commit SHA or version tag, e.g.:
      # actions/hello-world-javascript-action@e76147da8e5c81eaf017dede5645551d4b94427b
      # actions/hello-world-javascript-action@v1.2.3
      - name: Print to Log
        id: print-to-log
        uses: actions/hello-world-javascript-action@main
        with:
          who-to-greet: ${{ inputs.who-to-greet }}

For example workflow runs, check out the Actions tab! 🚀

Inputs

Input Default Description
who-to-greet World The name of the person to greet

Outputs

Output Description
time The time we greeted you