Skip to content

Live Smoke Run

Live Smoke Run #2

Workflow file for this run

name: Live Smoke Run
on:
push:
branches: [main]
workflow_dispatch:
inputs:
timeout:
description: "Minutes to keep the session alive"
required: false
default: "10"
jobs:
live-smoke:
runs-on: ubuntu-latest
permissions:
contents: read
issues: write
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Create tracking issue
id: tracking
env:
GH_TOKEN: ${{ github.token }}
run: |
issue_url="$(
gh issue create \
--repo "${{ github.repository }}" \
--title "Live BrowserBox run ${{ github.run_id }}" \
--body "Tracking BrowserBox login link for run ${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}."
)"
issue_number="${issue_url##*/}"
echo "issue-number=${issue_number}" >> "$GITHUB_OUTPUT"
echo "::notice title=BrowserBox Tracking Issue::${issue_url}"
- name: Run BrowserBox
id: bbx
env:
GH_TOKEN: ${{ github.token }}
uses: ./
with:
license-key: ${{ secrets.BBX_LICENSE_KEY }}
timeout: ${{ github.event.inputs.timeout || '10' }}
broadcast-issue-number: ${{ steps.tracking.outputs.issue-number }}