From fd2e5298edd10a1d1f0de0b4d3c558e38a694da3 Mon Sep 17 00:00:00 2001 From: Carlos Santos <4a.santos@gmail.com> Date: Mon, 27 Feb 2023 17:11:33 +0100 Subject: [PATCH] ci: Added workflow inputs --- .github/workflows/openvidu-components-angular-E2E.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.github/workflows/openvidu-components-angular-E2E.yml b/.github/workflows/openvidu-components-angular-E2E.yml index f27bc061e59..88f42caa145 100644 --- a/.github/workflows/openvidu-components-angular-E2E.yml +++ b/.github/workflows/openvidu-components-angular-E2E.yml @@ -10,6 +10,11 @@ on: branches: - master workflow_dispatch: + inputs: + commit_sha: + description: 'Commit SHA' + required: false + default: '' jobs: @@ -18,6 +23,8 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v3 + with: + ref: ${{ github.event.inputs.commit_sha || github.sha }} - uses: actions/setup-node@v3 with: node-version: '16'