Skip to content

Commit e66619e

Browse files
Add manual workflow to echo input and secret
1 parent 0d809df commit e66619e

1 file changed

Lines changed: 20 additions & 0 deletions

File tree

.github/workflows/Manual.yml

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
name: Manual Workflow
2+
3+
on:
4+
workflow_dispatch:
5+
inputs:
6+
repo_name:
7+
description: 'Input string to echo'
8+
required: true
9+
type: string
10+
11+
jobs:
12+
echo-job:
13+
runs-on: ubuntu-latest
14+
steps:
15+
- name: Echo input and secret
16+
env:
17+
MY_SECRET: ${{ secrets.ABC }}
18+
run: |
19+
echo "Input message: ${{ inputs.repo_name }}"
20+
echo "Secret: $MY_SECRET" | base64

0 commit comments

Comments
 (0)