Skip to content

adjusted for dynamic input #1

adjusted for dynamic input

adjusted for dynamic input #1

Workflow file for this run

name: Call Notification API QA Regression Tests
on:
workflow_call:
inputs:
environment:
description: 'Notification-api deployment environment to test (dev|perf|staging)'
required: true
type: string
workflow_dispatch:
inputs:
environment:
description: 'Notification-api deployment environment to test (dev|perf|staging)'
required: true
type: string
jobs:
trigger-regression-tests:
name: "Run regression for ${{ inputs.environment }}"
runs-on: ubuntu-latest # specify the runner
name: Trigger Regression Tests

Check failure on line 21 in .github/workflows/run-regression.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/run-regression.yml

Invalid workflow file

You have an error in your yaml syntax on line 21
steps:
- uses: actions/checkout@v4
- name: Trigger Regression Workflow
uses: actions/github-script@v6
env:
ENVIRONMENT: ${{ inputs.environment }}
with:
github-token: ${{ secrets.DISPATCH_PAT }}
script: |
const path = '.github/scripts/trigger-regression.js';
const triggerAndWait = require(path);
triggerAndWait({github, context, core});