Skip to content

Commit

Permalink
fix: Corrected indent
Browse files Browse the repository at this point in the history
  • Loading branch information
kdivya153 committed Oct 8, 2024
1 parent efcbc3c commit fc82dff
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 5 deletions.
9 changes: 4 additions & 5 deletions .github/workflows/check-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,9 +33,8 @@ jobs:
- name: Trigger MFOS Workflow
uses: benc-uk/workflow-dispatch@v1
with:
workflow: MFOS standalone sanity report - CORE,MANAGE,DISCOVERY # Workflow in Repo B
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

repo: rdkcentral/firebolt-apis
inputs:
OPENRPC_PR_BRANCH: ${{ github.event.pull_request.head.ref }}
19 changes: 19 additions & 0 deletions .github/workflows/slack-notification.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
name: Capture Repo B Status
on:
workflow_run:
workflows: ["MFOS standalone sanity report - CORE,MANAGE,DISCOVERY"]
types:
- completed
jobs:
check_repo_b_status:
name: Firebolt API Workflow Status
runs-on: ubuntu-latest
steps:
- name: Check if the workflow Succeeded
run: |
if [[ "${{ github.event.workflow_run.conclusion }}" != "success" ]]; then
echo "SDK generation failed so failing this PR"
exit 1
else
echo "SDK generated successfully."
fi

0 comments on commit fc82dff

Please sign in to comment.