From fae12977bda6cf42b2e932d411255c99a133573a Mon Sep 17 00:00:00 2001 From: Shivam Pandey Date: Wed, 10 Apr 2024 12:12:43 +0530 Subject: [PATCH] using inputs --- .github/workflows/irctc.yml | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/.github/workflows/irctc.yml b/.github/workflows/irctc.yml index f59bd40..5435b0d 100644 --- a/.github/workflows/irctc.yml +++ b/.github/workflows/irctc.yml @@ -9,6 +9,13 @@ on: - 'main' pull_request: workflow_dispatch: + inputs: + USERNAME: + required: true + type: string + PASSWORD: + required: true + type: string jobs: IRCTC-Booking: @@ -36,4 +43,4 @@ jobs: # continue-on-error: true with: browser: chrome - command: npx cypress run --record --key a15b31a6-b9ee-4678-b9ac-f45a190851fe --browser chrome --env USERNAME=${{secrets.USERNAME}},PASSWORD=${{secrets.PASSWORD}} + command: npx cypress run --record --key a15b31a6-b9ee-4678-b9ac-f45a190851fe --browser chrome --env USERNAME=${{inputs.USERNAME}},PASSWORD=${{inputs.PASSWORD}}