Skip to content

CCM-11942: Update workflows to use common dispatch workflow script (#… #7

CCM-11942: Update workflows to use common dispatch workflow script (#…

CCM-11942: Update workflows to use common dispatch workflow script (#… #7

name: Github Release Created

Check failure on line 1 in .github/workflows/release_created.yaml

View workflow run for this annotation

GitHub Actions / .github/workflows/release_created.yaml

Invalid workflow file

(Line: 29, Col: 9): Unexpected value 'secrets', (Line: 13, Col: 5): Required property is missing: runs-on
on:
release:
types: ["published"] # Inherits all input defaults
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: false
jobs:
deploy-main:
name: Deploy changes to int in Dev AWS Account
permissions:
id-token: write
contents: read
strategy:
max-parallel: 1
matrix:
component: [reporting]
steps:
- name: Checkout repository
uses: actions/checkout@v5.0.0
- name: Updating Main Environment
secrets: inherit
env:
PR_TRIGGER_PAT: ${{ secrets.PR_TRIGGER_PAT }}
run: |
bash .github/scripts/dispatch_internal_repo_workflow.sh \
--releaseVersion "${{ github.event.release.tag_name }}" \
--targetWorkflow "dispatch-deploy-static-notify-reporting-env.yaml" \
--targetEnvironment "int" \
--targetAccountGroup "nhs-notify-reporting-dev" \
--targetComponent "${{ matrix.component }}" \
--terraformAction "apply"