Skip to content

Commit 6da1bc0

Browse files
committed
testing action
1 parent af5f218 commit 6da1bc0

File tree

5 files changed

+39
-38
lines changed

5 files changed

+39
-38
lines changed

.github/workflows/blank.yml

Lines changed: 0 additions & 27 deletions
This file was deleted.

.github/workflows/main.yml

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
name: Greet User Workflow
2+
3+
on:
4+
push:
5+
branches:
6+
- 'master'
7+
8+
permissions:
9+
id-token: write # Required for requesting the JWT
10+
contents: read # Required for actions/checkout
11+
12+
jobs:
13+
example-job:
14+
runs-on: ubuntu-latest
15+
16+
steps:
17+
- name: Checkout repository
18+
uses: actions/checkout@v2
19+
20+
- name: Run Echo Greeting Action
21+
uses: ./
22+
with:
23+
name: 'Octocat'

.gitignore

Lines changed: 0 additions & 11 deletions
This file was deleted.

.vault_password_hooks

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
EVgBjMNqVZ6uzbgZRHND

action.yml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
name: "Echo Greeting Action"
2+
description: "A simple action that echoes a greeting message."
3+
inputs:
4+
name:
5+
description: "The name of the person to greet"
6+
required: true
7+
default: "World"
8+
9+
runs:
10+
using: "composite" # Allows you to define a sequence of shell commands
11+
steps:
12+
- name: Echo the greeting
13+
shell: bash
14+
run: |
15+
echo "Hello, ${{ inputs.name }}!"

0 commit comments

Comments
 (0)