-
Notifications
You must be signed in to change notification settings - Fork 0
29 lines (27 loc) · 1019 Bytes
/
browser-tests.yaml
File metadata and controls
29 lines (27 loc) · 1019 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
name: Browser tests
on:
push:
tags:
- 'v*'
jobs:
trigger-browser-tests:
name: Browser tests
runs-on: ubuntu-latest
steps:
- uses: actions/create-github-app-token@v2
name: Generate token
id: generate_token
with:
app-id: ${{ secrets.AUTOMATION_CLIENT_ID }}
private-key: ${{ secrets.AUTOMATION_CLIENT_SECRET }}
owner: ${{ github.repository_owner }}
- uses: octokit/request-action@v2.x
name: Trigger browser tests
with:
repository: ibexa/commerce
workflow: "browser-tests.yml"
ref: ${{ github.ref_name }}
route: POST /repos/{repository}/actions/workflows/{workflow}/dispatches
inputs: '{ "send-success-notification": "true", "project-version": "${{ github.ref_name }}" }'
env:
GITHUB_TOKEN: ${{ steps.generate_token.outputs.token }}