Skip to content

Forked CI

Forked CI #78

Workflow file for this run

name: Forked CI
on:
workflow_dispatch:
inputs:
number:
description: "Pull Request Number"
required: true
jobs:
trigger-chromatic:
runs-on: ubuntu-latest
steps:
- uses: octokit/[email protected]
id: dispatch_chromatic
with:
route: POST /repos/{owner}/{repo}/actions/workflows/{workflow_id}/dispatches
owner: ${{ github.event.repository.owner.login }}
repo: ${{ github.event.repository.name }}
workflow_id: "chromatic.yml"
ref: "master"
inputs: '{"number": "${{ github.event.inputs.number }}"}'
env:
GITHUB_TOKEN: ${{ secrets.CYPRESS_WORKFLOW_TOKEN }}