Skip to content

Adding call of reusable workflow from core repo #1

Adding call of reusable workflow from core repo

Adding call of reusable workflow from core repo #1

name: Call PR Workflow
on:
pull_request:
types: [opened, reopened, ready_for_review]
jobs:
call-reusable-workflow:
uses: Enterprise-CMCS/macpro-mdct-core/.github/workflows/pr-notification.yml@main
with:
retrieve_endpoint: true
secrets:
slack_webhook: ${{ secrets.INTEGRATIONS_SLACK_WEBHOOK }}
role-to-assume: ${{ secrets.AWS_DEFAULT_REGION }}

Check failure on line 14 in .github/workflows/call-pr-notification.yml

View workflow run for this annotation

GitHub Actions / Call PR Workflow

Invalid workflow file

The workflow is not valid. .github/workflows/call-pr-notification.yml (Line: 14, Col: 23): Invalid secret, role-to-assume is not defined in the referenced workflow. .github/workflows/call-pr-notification.yml (Line: 15, Col: 19): Invalid secret, aws-region is not defined in the referenced workflow.
aws-region: ${{ secrets.AWS_OIDC_ROLE_TO_ASSUME }}