Skip to content

Merge pull request #115 from RoboFinSystems/refactor/product-landing-… #302

Merge pull request #115 from RoboFinSystems/refactor/product-landing-…

Merge pull request #115 from RoboFinSystems/refactor/product-landing-… #302

Workflow file for this run

name: Test CI
on:
pull_request:
types: [opened, synchronize, reopened]
push:
branches:
- main
permissions:
contents: read
security-events: write # Required for Trivy SARIF upload to GitHub Security tab
jobs:
runner:
runs-on: ubuntu-latest
timeout-minutes: 5
outputs:
runners_available: ${{ steps.check.outputs.runners_available }}
runner_type: ${{ steps.check.outputs.runner_type }}
runner_config: ${{ steps.check.outputs.runner_config }}
steps:
- name: Checkout
uses: actions/checkout@v6
with:
repository: ${{ github.repository }}
ref: ${{ github.ref }}
token: ${{ github.token }}
- name: Check runner availability
id: check
uses: ./.github/actions/runner-availability
with:
runner_labels: ${{ vars.RUNNER_LABELS || 'github-hosted' }}
runner_scope: ${{ vars.RUNNER_SCOPE || 'both' }}
github_token: ${{ github.token }}
test:
needs: [runner]
uses: ./.github/workflows/test.yml
with:
runner_config: ${{ needs.runner.outputs.runner_config }}
secrets: inherit