Skip to content

fix: Added new job to trigger Firebolt API #449

fix: Added new job to trigger Firebolt API

fix: Added new job to trigger Firebolt API #449

Workflow file for this run

name: Check Pull Request
on:
workflow_dispatch:
pull_request:
types:
- 'ready_for_review'
- 'opened'
- 'reopened'
- 'synchronize'
env:
HUSKY: 0
jobs:
release:
name: Run npm pack
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
with:
fetch-depth: 0
- name: Setup Node.js
uses: actions/setup-node@v2
with:
node-version: 'lts/*'
- name: Install dependencies
run: npm ci
- name: Run validation and tests
run: npm pack
trigger_repo_b_workflow:
name: Trigger Firebolt API Workflow
runs-on: ubuntu-latest
steps:
- name: Trigger MFOS Workflow
uses: benc-uk/workflow-dispatch@v1
with:
workflow: MFOS standalone sanity report - CORE,MANAGE,DISCOVERY # Workflow in Repo B
token: ${{ secrets.GITHUB_TOKEN }}
repo: rdkcentral/firebolt-apis
inputs:
PR_NAME: ${{ github.event.pull_request.head.ref }} # Pass Repo A PR branch name to Repo B

Check failure on line 40 in .github/workflows/check-pr.yml

View workflow run for this annotation

GitHub Actions / Check Pull Request

Invalid workflow file

The workflow is not valid. .github/workflows/check-pr.yml (Line: 40, Col: 13): A mapping was not expected