Skip to content

Commit 36e075c

Browse files
committed
'.'
1 parent f27100d commit 36e075c

File tree

1 file changed

+6
-10
lines changed

1 file changed

+6
-10
lines changed

.github/workflows/reusable.yml

Lines changed: 6 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -6,19 +6,15 @@ on:
66
username:
77
required: true
88
type: string
9+
secrets:
10+
token:
11+
required: true
912

1013
jobs:
1114
reusable_job:
1215
runs-on: ubuntu-latest
1316
steps:
1417
- uses: actions/checkout@v3
15-
- run: echo "Hello ${{ inputs.username }}"
16-
17-
# Caller workflow (use.yml)
18-
name: Caller workflow
19-
on: [push]
20-
jobs:
21-
call_reusable:
22-
uses: dubloksoftware/workflows/.github/workflows/reusable.yml@main
23-
with:
24-
username: "John"
18+
with:
19+
token: ${{ secrets.token }}
20+
- run: echo "Hello ${{ inputs.username }}"

0 commit comments

Comments
 (0)