From 5d090162f2b4a203156048662e2edcae1454450d Mon Sep 17 00:00:00 2001 From: Ahmed Jazzar <11036472+ahmedaljazzar@users.noreply.github.com> Date: Thu, 8 Jul 2021 14:00:51 -0700 Subject: [PATCH] Trigger Sultan tests --- .github/workflows/sultan-ci.yml | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 .github/workflows/sultan-ci.yml diff --git a/.github/workflows/sultan-ci.yml b/.github/workflows/sultan-ci.yml new file mode 100644 index 0000000000..955096e078 --- /dev/null +++ b/.github/workflows/sultan-ci.yml @@ -0,0 +1,22 @@ +on: push + +name: 'Sultan Tests' + +jobs: + sultan: + name: Trigger Sultan Action + runs-on: ubuntu-latest + steps: + - name: Extract branch name + run: echo "##[set-output name=branch;]$(echo ${GITHUB_REF#refs/heads/})" + id: extract_branch + + - name: Sultan Dispatch + uses: ahmedaljazzar/dispatch-workflow@v0.1.2 + with: + owner: appsembler + repo: sultan + token: ${{ secrets.REPO_ACCESS_TOKEN }} + event_type: devstack + client_payload: '{"branch": "${{ steps.extract_branch.outputs.branch }}", "sha": "${{ github.sha }}"}' + max_time: 1500