Skip to content

Commit ddb3996

Browse files
author
Ghulam Nasir
committed
main: pass working directory to web reports action
1 parent e4a2d31 commit ddb3996

File tree

1 file changed

+11
-3
lines changed

1 file changed

+11
-3
lines changed

.github/workflows/vulnerability-and-outdated-packages-report.yml

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
name: Vulernable and Outdated Packages Report
2+
env:
3+
ENVIRONMENT_FILE: .env
4+
15
on:
26
workflow_call:
37
inputs:
@@ -14,9 +18,12 @@ on:
1418
required: false
1519
type: string
1620
default: reports
17-
flutter-working-dir:
21+
flutter-working-directory:
1822
description: 'Flutter working directory'
19-
required: false
23+
type: string
24+
default: .
25+
web-working-directory:
26+
description: 'Web working directory'
2027
type: string
2128
default: .
2229
web-report:
@@ -38,6 +45,7 @@ jobs:
3845
- name: Web Vulnerability and Outdated Packages Report
3946
uses: QuickBirdEng/actions/web-vulnerability-and-outdated-packages-report@main
4047
with:
48+
working-directory: ${{ inputs.web-working-directory }}
4149
modules: ${{ inputs.modules }}
4250
node-version: ${{ inputs.node-version }}
4351
flutter:
@@ -49,4 +57,4 @@ jobs:
4957
ssh-private-key: ${{ secrets.CI_SSH_PRIVATE_KEY_FOR_GITHUB_PRIVATE_REPOS }}
5058
- uses: QuickBirdEng/actions/flutter-vulnerability-and-outdated-packages-report@main
5159
with:
52-
working-dir: ${{ inputs.flutter-working-dir }}
60+
working-directory: ${{ inputs.flutter-working-directory }}

0 commit comments

Comments
 (0)