-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
af5f218
commit 6da1bc0
Showing
5 changed files
with
39 additions
and
38 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
name: Greet User Workflow | ||
|
||
on: | ||
push: | ||
branches: | ||
- 'master' | ||
|
||
permissions: | ||
id-token: write # Required for requesting the JWT | ||
contents: read # Required for actions/checkout | ||
|
||
jobs: | ||
example-job: | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- name: Checkout repository | ||
uses: actions/checkout@v2 | ||
|
||
- name: Run Echo Greeting Action | ||
uses: ./ | ||
with: | ||
name: 'Octocat' |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
EVgBjMNqVZ6uzbgZRHND |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
name: "Echo Greeting Action" | ||
description: "A simple action that echoes a greeting message." | ||
inputs: | ||
name: | ||
description: "The name of the person to greet" | ||
required: true | ||
default: "World" | ||
|
||
runs: | ||
using: "composite" # Allows you to define a sequence of shell commands | ||
steps: | ||
- name: Echo the greeting | ||
shell: bash | ||
run: | | ||
echo "Hello, ${{ inputs.name }}!" |